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 Object implements SocialAuthenticationService<S>, org.springframework.beans.factory.InitializingBean
- Author:
- Stefan Fussennegger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.social.security.provider.SocialAuthenticationService
SocialAuthenticationService.ConnectionCardinality
-
-
Constructor Summary
Constructors Constructor Description AbstractSocialAuthenticationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()StringgetConnectionAddedRedirectUrl(javax.servlet.http.HttpServletRequest request, Connection<?> connection)SocialAuthenticationService.ConnectionCardinalitygetConnectionCardinality()voidsetConnectionAddedRedirectUrl(String connectionAddedRedirectUrl)voidsetConnectionCardinality(SocialAuthenticationService.ConnectionCardinality connectionCardinality)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.social.security.provider.SocialAuthenticationService
getAuthToken, getConnectionFactory
-
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getConnectionCardinality
public SocialAuthenticationService.ConnectionCardinality getConnectionCardinality()
- Specified by:
getConnectionCardinalityin interfaceSocialAuthenticationService<S>- Returns:
SocialAuthenticationService.ConnectionCardinalityfor connections to this provider
-
setConnectionCardinality
public void setConnectionCardinality(SocialAuthenticationService.ConnectionCardinality connectionCardinality)
-
getConnectionAddedRedirectUrl
public String getConnectionAddedRedirectUrl(javax.servlet.http.HttpServletRequest request, Connection<?> connection)
- Specified by:
getConnectionAddedRedirectUrlin interfaceSocialAuthenticationService<S>- Returns:
- null to use filter default
-
setConnectionAddedRedirectUrl
public void setConnectionAddedRedirectUrl(String connectionAddedRedirectUrl)
-
-