org.springframework.security.web.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
Version:
$Id: PersistentTokenRepository.java 3543 2009-03-26 07:18:36Z ltaylor $
Author:
Luke Taylor
See Also:
JdbcTokenRepositoryImpl, InMemoryTokenRepositoryImpl

Method Summary
 void createNewToken(PersistentRememberMeToken token)
           
 PersistentRememberMeToken getTokenForSeries(String seriesId)
           
 void removeUserTokens(String username)
           
 void updateToken(String series, String tokenValue, Date lastUsed)
           
 

Method Detail

createNewToken

void createNewToken(PersistentRememberMeToken token)

updateToken

void updateToken(String series,
                 String tokenValue,
                 Date lastUsed)

getTokenForSeries

PersistentRememberMeToken getTokenForSeries(String seriesId)

removeUserTokens

void removeUserTokens(String username)


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.