Hi Johannes, You can use Google's own authentication mechanism for that. From within any context, whether servlet or jsp:
UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser(); If the User is unknown you can send the user to a login page. This service is provided by Google. A step further is to know what role/privileges a user has. You may choose to store that information in your application. Cheers, Jos On Wed, Aug 26, 2009 at 11:32 AM, Johannes<[email protected]> wrote: > > Hello Everyone. > > Im having some problems finding a way to restricting access to pages > by a username password. What i really wanted was somthing like tomcats > descriptor setup, but anything will do. > > How would one go about this in appengine? > > Thanks in advance > //johannes > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
