public class GoogleOpenIdClient extends BaseOpenIdClient<GoogleOpenIdProfile>
GoogleOpenIdProfile.GoogleOpenIdProfile| Modifier and Type | Field and Description |
|---|---|
static String |
GOOGLE_GENERIC_USER_IDENTIFIER |
DISCOVERY_INFORMATIONATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, logger, NEEDS_CLIENT_REDIRECTION_PARAMETER| Constructor and Description |
|---|
GoogleOpenIdClient() |
| Modifier and Type | Method and Description |
|---|---|
protected GoogleOpenIdProfile |
createProfile(org.openid4java.message.AuthSuccess authSuccess)
Create the appropriate OpenID profile.
|
protected org.openid4java.message.ax.FetchRequest |
getFetchRequest()
Get a fetch request for attributes.
|
protected String |
getUser(WebContext context)
Return the user identifier for the web context.
|
protected void |
internalInit() |
protected BaseClient<OpenIdCredentials,GoogleOpenIdProfile> |
newClient() |
String |
toString() |
getDiscoveryInformationSessionAttributeName, getProtocol, isDirectRedirection, retrieveCredentials, retrieveRedirectAction, retrieveUserProfileaddAuthorizationGenerator, clone, getAuthorizationGenerators, getCallbackUrl, getContextualCallbackUrl, getCredentials, getName, getRedirectAction, getRedirectionUrl, getUserProfile, isEnableContextualRedirects, prependHostToUrlIfNotPresent, redirect, setAuthorizationGenerator, setAuthorizationGenerators, setCallbackUrl, setEnableContextualRedirects, setNameinit, reinitpublic static final String GOOGLE_GENERIC_USER_IDENTIFIER
protected void internalInit()
internalInit in class BaseOpenIdClient<GoogleOpenIdProfile>protected BaseClient<OpenIdCredentials,GoogleOpenIdProfile> newClient()
newClient in class BaseClient<OpenIdCredentials,GoogleOpenIdProfile>protected String getUser(WebContext context)
BaseOpenIdClientgetUser in class BaseOpenIdClient<GoogleOpenIdProfile>protected org.openid4java.message.ax.FetchRequest getFetchRequest()
throws org.openid4java.message.MessageException
BaseOpenIdClientgetFetchRequest in class BaseOpenIdClient<GoogleOpenIdProfile>org.openid4java.message.MessageExceptionprotected GoogleOpenIdProfile createProfile(org.openid4java.message.AuthSuccess authSuccess) throws org.openid4java.message.MessageException
BaseOpenIdClientcreateProfile in class BaseOpenIdClient<GoogleOpenIdProfile>org.openid4java.message.MessageExceptionpublic String toString()
toString in class BaseClient<OpenIdCredentials,GoogleOpenIdProfile>Copyright © 2014. All Rights Reserved.