public abstract class SocialConfigurerAdapter extends Object implements SocialConfigurer
SocialConfigurer with convenient default implementations of methods.| Constructor and Description |
|---|
SocialConfigurerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionFactories(ConnectionFactoryConfigurer connectionFactoryConfigurer,
Environment environment)
Default implementation of
addConnectionFactories(ConnectionFactoryConfigurer, Environment). |
UserIdSource |
getUserIdSource()
Default implementation of
getUserIdSource(). |
UsersConnectionRepository |
getUsersConnectionRepository(ConnectionFactoryLocator connectionFactoryLocator)
Default implementation of
getUsersConnectionRepository(ConnectionFactoryLocator) that creates an in-memory repository. |
public void addConnectionFactories(ConnectionFactoryConfigurer connectionFactoryConfigurer, Environment environment)
addConnectionFactories(ConnectionFactoryConfigurer, Environment).
Implemented as a no-op, adding no connection factories.addConnectionFactories in interface SocialConfigurerconnectionFactoryConfigurer - A configurer for adding ConnectionFactory instances.environment - The Spring environment, useful for fetching application credentials needed to create a ConnectionFactory instance.public UserIdSource getUserIdSource()
getUserIdSource().
Returns null, indicating that this configuration class doesn't provide a UserIdSource (another configuration class must provide one, however).getUserIdSource in interface SocialConfigurerpublic UsersConnectionRepository getUsersConnectionRepository(ConnectionFactoryLocator connectionFactoryLocator)
getUsersConnectionRepository(ConnectionFactoryLocator) that creates an in-memory repository.getUsersConnectionRepository in interface SocialConfigurerconnectionFactoryLocator - A ConnectionFactoryLocator to be used by the UsersConnectionRepository.UsersConnectionRepository.