java - Configuring authentication for Google App Engine application -


i have basic question caused either lack of experience or lack of documentation (or both).

i'm developing application gae/j. want users can log in , gmail accounts (i.e. admin should have possibility list gmail accounts , users can work application).

so, have doubts in:

1) should implement functionality admin appointment or google has done me , i'll able configure after deployment?

2) same doubts users: should provide functionality (web interface) adding/removing users or google has done me , it's configurable somewhere in configuration console after deployment?

thanks!

upd: know userservice class , method isuseradmin() can't figure out should happen user become admin?

a few points answer question(s):

  1. when create application can specify types of accounts want. can choose google accounts or set googleapps specific.
  2. in application configuration, can specify if route accessible admins, authenticated user, or anyone.
  3. there no pre-built in administration of users, other admins.
  4. you can specify admins adding them permissions section of application dashboard.
  5. userservice.isuseradmin() return true if user in permissions list of application (as per #4).

in short, if want users have specify access routes, you'll have develop yourself.

for more information see: http://code.google.com/appengine/docs/java/config/webxml.html#security_and_authentication


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -