Package org.springframework.security.web.authentication.rememberme
Support for remembering a user between different web sessions.
Comes with two default implementations. See the Remember-Me Authentication chapter of the reference manual.
-
Interface Summary Interface Description PersistentTokenRepository The abstraction used byPersistentTokenBasedRememberMeServices
to store the persistent login tokens for a user. -
Class Summary Class Description AbstractRememberMeServices Base class for RememberMeServices implementations.InMemoryTokenRepositoryImpl Simple PersistentTokenRepository implementation backed by a Map.JdbcTokenRepositoryImpl JDBC based persistent login token repository implementation.PersistentRememberMeToken PersistentTokenBasedRememberMeServices RememberMeServices
implementation based on Barry Jaspan's Improved Persistent Login Cookie Best Practice.RememberMeAuthenticationFilter Detects if there is noAuthentication
object in theSecurityContext
, and populates the context with a remember-me authentication token if aRememberMeServices
implementation so requests.TokenBasedRememberMeServices Identifies previously remembered users by a Base-64 encoded cookie. -
Exception Summary Exception Description CookieTheftException InvalidCookieException Exception thrown by a RememberMeServices implementation to indicate that a submitted cookie is of an invalid format or has expired.RememberMeAuthenticationException This exception is thrown when anAuthentication
exception occurs while using the remember-me authentication.