|
Spring Social | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited @Import(value=org.springframework.social.config.annotation.JdbcConnectionRepositoryRegistrar.class) public @interface EnableJdbcConnectionRepository
Annotation to enable JDBC-based persistence of connections.
Configures a singleton JdbcUsersConnectionRepository
and a request-scoped JdbcConnectionRepository.
Optional Element Summary | |
---|---|
java.lang.String |
connectionFactoryLocatorRef
The ID of the ConnectionFactoryLocator bean to fetch a ConnectionFactory from when creating/persisting connections. |
java.lang.String |
connectionRepositoryId
The ID to assign to the ConnectionRepository bean. |
java.lang.String |
connectionSignUpRef
Reference to ConnectionSignUp bean to execute to create a new local user profile in the event no user id could be mapped to a connection. |
java.lang.String |
dataSourceRef
The ID of a DataSource for accessing the database. |
java.lang.String |
encryptorRef
The ID of a TextEncryptor used when persisting connection details. |
java.lang.String |
userIdSourceRef
The ID of a UserIdSource bean used to determine the unique identifier of the current user. |
java.lang.String |
usersConnectionRepositoryId
The ID to assign to the UsersConnectionRepository bean. |
public abstract java.lang.String connectionRepositoryId
public abstract java.lang.String usersConnectionRepositoryId
public abstract java.lang.String connectionFactoryLocatorRef
public abstract java.lang.String dataSourceRef
public abstract java.lang.String encryptorRef
public abstract java.lang.String userIdSourceRef
public abstract java.lang.String connectionSignUpRef
ConnectionSignUp
bean to execute to create a new local user profile in the event no user id could be mapped to a connection.
Allows for implicitly creating a user profile from connection data during a provider sign-in attempt.
Defaults to null, indicating explicit sign-up will be required to complete the provider sign-in attempt.
|
Spring Social | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |