public class GaeUserServiceClient extends IndirectClient<GaeUserCredentials,GaeUserServiceProfile>
This class is the OpenID client to authenticate users with UserService on App Engine
| Modifier and Type | Field and Description |
|---|---|
protected String |
authDomain |
protected com.google.appengine.api.users.UserService |
service |
ATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolverlogger| Constructor and Description |
|---|
GaeUserServiceClient() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthDomain() |
protected void |
internalInit(WebContext context)
Internal initialization of the object.
|
protected GaeUserCredentials |
retrieveCredentials(WebContext context)
Retrieve the credentials.
|
protected RedirectAction |
retrieveRedirectAction(WebContext context)
Retrieve the redirect action.
|
protected GaeUserServiceProfile |
retrieveUserProfile(GaeUserCredentials credentials,
WebContext context)
Retrieve a user userprofile.
|
void |
setAuthDomain(String authDomain)
Set the authDomain for connect to google apps for domain with the UserService
|
computeFinalCallbackUrl, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getRedirectAction, getStateParameter, isIncludeClientNameInCallbackUrl, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setIncludeClientNameInCallbackUrl, toStringaddAuthorizationGenerator, addAuthorizationGenerators, getAuthorizationGenerators, getName, getUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setNameinit, reinitprotected com.google.appengine.api.users.UserService service
protected String authDomain
protected void internalInit(WebContext context)
InitializableWebObjectinternalInit in class IndirectClient<GaeUserCredentials,GaeUserServiceProfile>context - the web contextprotected RedirectAction retrieveRedirectAction(WebContext context)
IndirectClientretrieveRedirectAction in class IndirectClient<GaeUserCredentials,GaeUserServiceProfile>context - the web contextprotected GaeUserCredentials retrieveCredentials(WebContext context) throws HttpAction
BaseClientretrieveCredentials in class BaseClient<GaeUserCredentials,GaeUserServiceProfile>context - the web contextHttpAction - whether an additional HTTP action is requiredprotected GaeUserServiceProfile retrieveUserProfile(GaeUserCredentials credentials, WebContext context) throws HttpAction
BaseClientretrieveUserProfile in class BaseClient<GaeUserCredentials,GaeUserServiceProfile>credentials - the credentialscontext - the web contextHttpAction - whether an additional HTTP action is requiredpublic void setAuthDomain(String authDomain)
authDomain - the authentication domainpublic String getAuthDomain()
Copyright © 2016. All rights reserved.