java.lang.Object | |||
↳ | org.springframework.dao.support.DaoSupport | ||
↳ | org.springframework.jdbc.core.support.JdbcDaoSupport | ||
↳ | org.springframework.security.web.authentication.rememberme.JdbcTokenRepositoryImpl |
JDBC based persistent login token repository implementation.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CREATE_TABLE_SQL | Default SQL for creating the database table to store the tokens | |||||||||
String | DEF_INSERT_TOKEN_SQL | The default SQL used by createNewToken | |||||||||
String | DEF_REMOVE_USER_TOKENS_SQL | The default SQL used by removeUserTokens | |||||||||
String | DEF_TOKEN_BY_SERIES_SQL | The default SQL used by the getTokenBySeries query | |||||||||
String | DEF_UPDATE_TOKEN_SQL | The default SQL used by updateToken |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.dao.support.DaoSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Loads the token data for the supplied series identifier.
| |||||||||||
Intended for convenience in debugging.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.jdbc.core.support.JdbcDaoSupport
| |||||||||||
From class
org.springframework.dao.support.DaoSupport
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
| |||||||||||
From interface
org.springframework.security.web.authentication.rememberme.PersistentTokenRepository
|
Default SQL for creating the database table to store the tokens
The default SQL used by createNewToken
The default SQL used by removeUserTokens
The default SQL used by the getTokenBySeries query
The default SQL used by updateToken
Loads the token data for the supplied series identifier. If an error occurs, it will be reported and null will be returned (since the result should just be a failed persistent login).
Intended for convenience in debugging. Will create the persistent_tokens database table when the class is initialized during the initDao method.
createTableOnStartup | set to true to execute the |
---|