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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getTokenForSeries
(String seriesId) void
removeUserTokens
(String username) void
updateToken
(String series, String tokenValue, Date lastUsed)
-
Constructor Details
-
InMemoryTokenRepositoryImpl
public InMemoryTokenRepositoryImpl()
-
-
Method Details
-
createNewToken
- Specified by:
createNewToken
in interfacePersistentTokenRepository
-
updateToken
- Specified by:
updateToken
in interfacePersistentTokenRepository
-
getTokenForSeries
- Specified by:
getTokenForSeries
in interfacePersistentTokenRepository
-
removeUserTokens
- Specified by:
removeUserTokens
in interfacePersistentTokenRepository
-