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 byPersistentTokenBasedRememberMeServicesto 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 RememberMeServicesimplementation based on Barry Jaspan's Improved Persistent Login Cookie Best Practice.RememberMeAuthenticationFilter Detects if there is noAuthenticationobject in theSecurityContext, and populates the context with a remember-me authentication token if aRememberMeServicesimplementation so requests.TokenBasedRememberMeServices Identifies previously remembered users by a Base-64 encoded cookie. -
Enum Summary Enum Description TokenBasedRememberMeServices.RememberMeTokenAlgorithm -
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 anAuthenticationexception occurs while using the remember-me authentication.