As I.denardo said our application stores the email addresses of the
users in the datastore and check if the user is in the datastore. Not
all users can use our application and some can use some parts of the
application. If its a paid application you need to check the domain
also if its paid or not etc. So you need a mechanism to check if the
users domain is allowed to use the application and if the user is
granted to use the application. I don't know you application but at
some point you may need to have users in your datastore to apply user
permissions and payment system. And you need to email them at some
point and instead of usin google data api every time you can use your
own datastore and update users when a user with domain admin rights
logs in or maybe you can leave it to the admin to click sync users
button like system which will use less resources for you. I use both
systems, when an admin rights user logs in I sync users once a day and
I've a button for syncing users if admin needs to do it manually. Oh I
forgot also when a user tries to login and their domain found in
datastore and paid but user is not in datastore I use google data api
to fetch user details and if domain admin user I grant login otherwise
I alert the user to get in contact with his/her system admins. If you
need some sample code please tell.

-- 
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.

Reply via email to