Class InMemoryTokenRepositoryImpl
java.lang.Object
org.springframework.security.web.authentication.rememberme.InMemoryTokenRepositoryImpl
- All Implemented Interfaces:
PersistentTokenRepository
Simple PersistentTokenRepository implementation backed by a Map. Intended for
testing only.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetTokenForSeries(String seriesId) voidremoveUserTokens(String username) voidupdateToken(String series, String tokenValue, Date lastUsed)
-
Constructor Details
-
InMemoryTokenRepositoryImpl
public InMemoryTokenRepositoryImpl()
-
-
Method Details
-
createNewToken
- Specified by:
createNewTokenin interfacePersistentTokenRepository
-
updateToken
- Specified by:
updateTokenin interfacePersistentTokenRepository
-
getTokenForSeries
- Specified by:
getTokenForSeriesin interfacePersistentTokenRepository
-
removeUserTokens
- Specified by:
removeUserTokensin interfacePersistentTokenRepository
-