Hi,

I assume that your application can distinguish between the user who is
logged (as Google Accounts user) is a part of your application or not.

You can try doing something like this (for automatic logout)...

------------------------------------------------
   String link = userService.createLogoutURL(callbackUrl);
   if(!userInMyApp(request.getUserPrincipal()))
   {
     response.sendRedirect(link);
     return;
   }
------------------------------------------------


-Gaurav
www.mastergaurav.com

On Oct 21, 9:30 am, Didier Durand <[email protected]> wrote:
> Hello,
>
> I implemented UserService with GWT to get the login service of Google
> Accounts. Works fine with the provided login and logout links.
>
> But, Google Accounts will accept login for all the accounts it knows
> (much much more than my application with a few users only)
>
> How can I force logout of a user that Google Accounts accepts right
> after the login because my application doesn't know this user ?
>
> Thanks
> didier

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