Spring Social

org.springframework.social.security
Interface SocialAuthenticationServiceLocator

All Superinterfaces:
ConnectionFactoryLocator
All Known Implementing Classes:
SocialAuthenticationServiceRegistry

public interface SocialAuthenticationServiceLocator
extends ConnectionFactoryLocator


Method Summary
 SocialAuthenticationService<?> getAuthenticationService(java.lang.String providerId)
          Lookup a SocialAuthenticationService by providerId; for example, "facebook".
 java.util.Set<java.lang.String> registeredAuthenticationProviderIds()
          Returns the set of providerIds for which a SocialAuthenticationService is registered; for example, {"twitter", "facebook", "foursquare" }.
 
Methods inherited from interface org.springframework.social.connect.ConnectionFactoryLocator
getConnectionFactory, getConnectionFactory, registeredProviderIds
 

Method Detail

getAuthenticationService

SocialAuthenticationService<?> getAuthenticationService(java.lang.String providerId)
Lookup a SocialAuthenticationService by providerId; for example, "facebook".


registeredAuthenticationProviderIds

java.util.Set<java.lang.String> registeredAuthenticationProviderIds()
Returns the set of providerIds for which a SocialAuthenticationService is registered; for example, {"twitter", "facebook", "foursquare" }. Elements in this set can be passed to getAuthenticationService(String) to fetch a specific authentication service.


Spring Social