Spring Security Framework

org.springframework.security.ui.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$
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)

Spring Security Framework

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