org.springframework.social.security.provider
Class AbstractSocialAuthenticationService<S>
java.lang.Object
org.springframework.social.security.provider.AbstractSocialAuthenticationService<S>
- Type Parameters:
S
- The provider API type.
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, SocialAuthenticationService<S>
- Direct Known Subclasses:
- OAuth1AuthenticationService, OAuth2AuthenticationService
public abstract class AbstractSocialAuthenticationService<S>
- extends java.lang.Object
- implements SocialAuthenticationService<S>, org.springframework.beans.factory.InitializingBean
- Author:
- Stefan Fussennegger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSocialAuthenticationService
public AbstractSocialAuthenticationService()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
getConnectionCardinality
public SocialAuthenticationService.ConnectionCardinality getConnectionCardinality()
- Specified by:
getConnectionCardinality
in interface SocialAuthenticationService<S>
- Returns:
SocialAuthenticationService.ConnectionCardinality
for connections to this provider
setConnectionCardinality
public void setConnectionCardinality(SocialAuthenticationService.ConnectionCardinality connectionCardinality)
getConnectionAddedRedirectUrl
public java.lang.String getConnectionAddedRedirectUrl(javax.servlet.http.HttpServletRequest request,
Connection<?> connection)
- Specified by:
getConnectionAddedRedirectUrl
in interface SocialAuthenticationService<S>
- Returns:
- null to use filter default
setConnectionAddedRedirectUrl
public void setConnectionAddedRedirectUrl(java.lang.String connectionAddedRedirectUrl)