egovframework.rfc3.iam.security.authentication.rememberme
Class InMemoryTokenRepositoryImpl
java.lang.Object
egovframework.rfc3.iam.security.authentication.rememberme.InMemoryTokenRepositoryImpl
- All Implemented Interfaces:
- PersistentTokenRepository
public class InMemoryTokenRepositoryImpl
- extends java.lang.Object
- implements PersistentTokenRepository
Simple PersistentTokenRepository implementation backed by a Map. Intended for testing only.
- Author:
- Luke Taylor
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryTokenRepositoryImpl
public InMemoryTokenRepositoryImpl()
createNewToken
public void createNewToken(PersistentRememberMeToken token)
- Specified by:
createNewToken
in interface PersistentTokenRepository
updateToken
public void updateToken(java.lang.String series,
java.lang.String tokenValue,
java.util.Date lastUsed,
java.lang.String userIp)
- Specified by:
updateToken
in interface PersistentTokenRepository
getTokenForSeries
public PersistentRememberMeToken getTokenForSeries(java.lang.String seriesId)
- Specified by:
getTokenForSeries
in interface PersistentTokenRepository
removeUserTokens
public void removeUserTokens(java.lang.String username)
- Specified by:
removeUserTokens
in interface PersistentTokenRepository
removeCurTokens
public void removeCurTokens(java.util.Date date)
- Specified by:
removeCurTokens
in interface PersistentTokenRepository