Package org.springframework.security.web.authentication.rememberme
@NullMarked
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.
-
ClassDescriptionBase class for RememberMeServices implementations.Thrown if a remember-me cookie is presented that indicates it may have been stolen.Simple PersistentTokenRepository implementation backed by a Map.Exception thrown by a RememberMeServices implementation to indicate that a submitted cookie is of an invalid format or has expired.JDBC based persistent login token repository implementation.Represents the persistent state of a remember-me token.
RememberMeServicesimplementation based on Barry Jaspan's Improved Persistent Login Cookie Best Practice.The abstraction used byPersistentTokenBasedRememberMeServicesto store the persistent login tokens for a user.This exception is thrown when anAuthenticationexception occurs while using the remember-me authentication.Detects if there is noAuthenticationobject in theSecurityContext, and populates the context with a remember-me authentication token if aRememberMeServicesimplementation so requests.Identifies previously remembered users by a Base-64 encoded cookie.