public class SQLiteUsersConnectionRepository
extends java.lang.Object
implements org.springframework.social.connect.UsersConnectionRepository
UsersConnectionRepository
that uses SQLite to persist connection data to a relational database.Constructor and Description |
---|
SQLiteUsersConnectionRepository(android.database.sqlite.SQLiteOpenHelper repositoryHelper,
org.springframework.social.connect.ConnectionFactoryLocator connectionFactoryLocator,
org.springframework.security.crypto.encrypt.TextEncryptor textEncryptor) |
Modifier and Type | Method and Description |
---|---|
org.springframework.social.connect.ConnectionRepository |
createConnectionRepository(java.lang.String userId) |
java.util.Set<java.lang.String> |
findUserIdsConnectedTo(java.lang.String providerId,
java.util.Set<java.lang.String> providerUserIds) |
java.util.List<java.lang.String> |
findUserIdsWithConnection(org.springframework.social.connect.Connection<?> connection) |
void |
setConnectionSignUp(org.springframework.social.connect.ConnectionSignUp connectionSignUp)
The command to execute to create a new local user profile in the event no user id could be mapped to a connection.
|
public SQLiteUsersConnectionRepository(android.database.sqlite.SQLiteOpenHelper repositoryHelper, org.springframework.social.connect.ConnectionFactoryLocator connectionFactoryLocator, org.springframework.security.crypto.encrypt.TextEncryptor textEncryptor)
public void setConnectionSignUp(org.springframework.social.connect.ConnectionSignUp connectionSignUp)
public java.util.List<java.lang.String> findUserIdsWithConnection(org.springframework.social.connect.Connection<?> connection)
findUserIdsWithConnection
in interface org.springframework.social.connect.UsersConnectionRepository
public java.util.Set<java.lang.String> findUserIdsConnectedTo(java.lang.String providerId, java.util.Set<java.lang.String> providerUserIds)
findUserIdsConnectedTo
in interface org.springframework.social.connect.UsersConnectionRepository
public org.springframework.social.connect.ConnectionRepository createConnectionRepository(java.lang.String userId)
createConnectionRepository
in interface org.springframework.social.connect.UsersConnectionRepository