Accounts Java API


http://code.google.com/intl/zh-TW/appengine/docs/java/users/overview.html



import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;

...
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();



http://in.relation.to/Bloggers/WeldJSF20AndGoogleAppEngineNavigatingTheMinefieldPart2

Comments