| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CLAIMED_IDENTITY_FIELD |
| Constructor and Description |
|---|
OpenIdAuthenticationService() |
OpenIdAuthenticationService(OpenIdConnectionFactory connectionFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected String |
buildReturnToUrl(javax.servlet.http.HttpServletRequest request)
Builds the return_to URL that will be sent to the OpenID service
provider.
|
org.springframework.social.security.SocialAuthenticationToken |
getAuthToken(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
OpenIdConnectionFactory |
getConnectionFactory() |
IRealmMapper |
getRealmMapper() |
protected String |
lookupRealm(String returnToUrl) |
protected Map<String,String> |
obtainAccountData(org.springframework.security.openid.OpenIDAuthenticationToken token) |
protected String |
obtainUsername(javax.servlet.http.HttpServletRequest req)
Reads the claimedIdentityFieldName from the submitted request.
|
void |
setClaimedIdentityFieldName(String claimedIdentityFieldName)
The name of the request parameter containing the OpenID identity, as
submitted from the initial login form.
|
void |
setConnectionFactory(OpenIdConnectionFactory connectionFactory) |
void |
setConsumer(org.springframework.security.openid.OpenIDConsumer consumer) |
void |
setRealmMapper(IRealmMapper realmMapper) |
void |
setReturnToUrlParameters(Set<String> returnToUrlParameters)
Specifies any extra parameters submitted along with the identity field
which should be appended to the
return_to URL which is assembled
by buildReturnToUrl(javax.servlet.http.HttpServletRequest). |
public static final String DEFAULT_CLAIMED_IDENTITY_FIELD
public OpenIdAuthenticationService()
public OpenIdAuthenticationService(OpenIdConnectionFactory connectionFactory)
public void afterPropertiesSet()
throws Exception
public void setConnectionFactory(OpenIdConnectionFactory connectionFactory)
public OpenIdConnectionFactory getConnectionFactory()
public org.springframework.social.security.SocialAuthenticationToken getAuthToken(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws org.springframework.social.security.SocialAuthenticationRedirectException
org.springframework.social.security.SocialAuthenticationRedirectExceptionprotected Map<String,String> obtainAccountData(org.springframework.security.openid.OpenIDAuthenticationToken token)
protected String buildReturnToUrl(javax.servlet.http.HttpServletRequest request)
request - the current request which is being processed by this filterprotected String obtainUsername(javax.servlet.http.HttpServletRequest req)
public void setClaimedIdentityFieldName(String claimedIdentityFieldName)
claimedIdentityFieldName - defaults to "openid_identifier"public void setConsumer(org.springframework.security.openid.OpenIDConsumer consumer)
public IRealmMapper getRealmMapper()
public void setRealmMapper(IRealmMapper realmMapper)
public void setReturnToUrlParameters(Set<String> returnToUrlParameters)
return_to URL which is assembled
by buildReturnToUrl(javax.servlet.http.HttpServletRequest).returnToUrlParameters - the set of parameter names. If not set, it will default to the
parameter name used by the RememberMeServices obtained
from the parent class (if one is set).Copyright © 2014 Molindo GmbH. All Rights Reserved.