@Named(value="googleExternalAuthenticationConsumer") public class GoogleExternalAuthencitationConsumer extends OauthExternalAuthenticationConsumer
AUTH_TOKEN_VERIFIER_PARAMETER, AUTHENTICATION_PROVIDER_NOT_REGISTERED, METADATAKEY_REQUEST_TOKEN, TAG_TEXT_END, TAG_TEXT_START
stringResourceLoader
Constructor and Description |
---|
GoogleExternalAuthencitationConsumer() |
Modifier and Type | Method and Description |
---|---|
protected void |
additionalActionsToTake(org.scribe.model.OAuthRequest oAuthRequest) |
protected void |
afterAccessTokenGot(org.scribe.model.Token accessToken) |
protected Map<String,String> |
getAuthenticationAttributes() |
protected String |
getAuthenticationResourceUrlToCheck() |
protected OAuthProviderProperties |
getCustomAuthenticationProvider(ExternalAuthenticationPluginBean pluginBean)
Default authentication provider
|
protected org.scribe.model.Token |
getRequestToken() |
protected Class<? extends org.scribe.builder.api.Api> |
getServiceProvider() |
protected String |
getVerificationValue(javax.servlet.http.HttpServletRequest request) |
protected void |
init(org.scribe.builder.ServiceBuilder serviceBuilder,
int phase) |
protected boolean |
isDataRequiredInXmlFormat() |
protected void |
throwAuthorizationFlow(org.scribe.oauth.OAuthService service) |
beginConsumption, endConsumption, fillAuthenticationAttributes, fillAuthenticationAttributes, isEnabled, processRequestTokenEndpointUrl, setOpenIdUrl
fixUsername, getAuthenticationProviderProperties
public GoogleExternalAuthencitationConsumer()
protected Map<String,String> getAuthenticationAttributes()
getAuthenticationAttributes
in class OauthExternalAuthenticationConsumer
protected void init(org.scribe.builder.ServiceBuilder serviceBuilder, int phase)
init
in class OauthExternalAuthenticationConsumer
protected OAuthProviderProperties getCustomAuthenticationProvider(ExternalAuthenticationPluginBean pluginBean)
AbstractExternalAuthenticationConsumer
getCustomAuthenticationProvider
in class AbstractExternalAuthenticationConsumer<OAuthProviderProperties>
protected Class<? extends org.scribe.builder.api.Api> getServiceProvider()
getServiceProvider
in class OauthExternalAuthenticationConsumer
protected void throwAuthorizationFlow(org.scribe.oauth.OAuthService service)
throwAuthorizationFlow
in class OauthExternalAuthenticationConsumer
protected void additionalActionsToTake(org.scribe.model.OAuthRequest oAuthRequest)
additionalActionsToTake
in class OauthExternalAuthenticationConsumer
protected String getVerificationValue(javax.servlet.http.HttpServletRequest request)
getVerificationValue
in class OauthExternalAuthenticationConsumer
protected String getAuthenticationResourceUrlToCheck()
getAuthenticationResourceUrlToCheck
in class OauthExternalAuthenticationConsumer
protected boolean isDataRequiredInXmlFormat()
isDataRequiredInXmlFormat
in class OauthExternalAuthenticationConsumer
protected void afterAccessTokenGot(org.scribe.model.Token accessToken)
afterAccessTokenGot
in class OauthExternalAuthenticationConsumer
protected org.scribe.model.Token getRequestToken()
getRequestToken
in class OauthExternalAuthenticationConsumer
Copyright © 2012 xaloon.org. All Rights Reserved.