public class InMemoryTokenRepositoryImpl extends Object implements PersistentTokenRepository
Constructor and Description |
---|
InMemoryTokenRepositoryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
createNewToken(PersistentRememberMeToken token) |
PersistentRememberMeToken |
getTokenForSeries(String seriesId) |
void |
removeUserTokens(String username) |
void |
updateToken(String series,
String tokenValue,
Date lastUsed) |
public void createNewToken(PersistentRememberMeToken token)
createNewToken
in interface PersistentTokenRepository
public void updateToken(String series, String tokenValue, Date lastUsed)
updateToken
in interface PersistentTokenRepository
public PersistentRememberMeToken getTokenForSeries(String seriesId)
getTokenForSeries
in interface PersistentTokenRepository
public void removeUserTokens(String username)
removeUserTokens
in interface PersistentTokenRepository