In my GAE/J web application, users authenticate via their google
account. I check to see they've signed into google via this code in
my jsp:
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
if (user == null)
response.sendRedirect("/index.jsp");
Is there anyway to use the user object above to query for that user's
spreadsheets? I'm thinking that it would involve using
user.getAuthDomain() but not sure if I'm right here. For instance,
would this work?... service.setAuthSubToken(user.getAuthDomain());
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.