egovframework.rfc3.iam.security.authentication.rememberme
Interface PersistentTokenRepository

All Known Implementing Classes:
InMemoryTokenRepositoryImpl, JdbcTokenRepositoryImpl

public interface PersistentTokenRepository

The abstraction used by PersistentTokenBasedRememberMeServices to store the persistent login tokens for a user.

Since:
2.0
Author:
Luke Taylor
See Also:
JdbcTokenRepositoryImpl, InMemoryTokenRepositoryImpl

Method Summary
 void createNewToken(PersistentRememberMeToken token)
           
 PersistentRememberMeToken getTokenForSeries(java.lang.String seriesId)
           
 void removeCurTokens(java.util.Date date)
           
 void removeUserTokens(java.lang.String username)
           
 void updateToken(java.lang.String series, java.lang.String tokenValue, java.util.Date lastUsed, java.lang.String userIp)
           
 

Method Detail

createNewToken

void createNewToken(PersistentRememberMeToken token)

updateToken

void updateToken(java.lang.String series,
                 java.lang.String tokenValue,
                 java.util.Date lastUsed,
                 java.lang.String userIp)

getTokenForSeries

PersistentRememberMeToken getTokenForSeries(java.lang.String seriesId)

removeUserTokens

void removeUserTokens(java.lang.String username)

removeCurTokens

void removeCurTokens(java.util.Date date)