Package org.springframework.security.authentication
Core classes and interfaces related to user authentication, which are used throughout
Spring Security.
Of key importance is the
AuthenticationManager and its default implementation
ProviderManager,
which maintains a list
AuthenticationProviders to which it delegates authentication requests.
-
Interface Summary Interface Description AuthenticationDetailsSource<C,T> Provides aAuthentication.getDetails()object for a given web request.AuthenticationEventPublisher AuthenticationManager Processes anAuthenticationrequest.AuthenticationManagerResolver<C> An interface for resolving anAuthenticationManagerbased on the provided contextAuthenticationProvider Indicates a class can process a specificAuthenticationimplementation.AuthenticationTrustResolver EvaluatesAuthenticationtokensReactiveAuthenticationManager Determines if the providedAuthenticationcan be authenticated.ReactiveAuthenticationManagerResolver<C> An interface for resolving aReactiveAuthenticationManagerbased on the provided context -
Exception Summary Exception Description AccountExpiredException Thrown if an authentication request is rejected because the account has expired.AccountStatusException Base class for authentication exceptions which are caused by a particular user account status (locked, disabled etc).AuthenticationCredentialsNotFoundException Thrown if an authentication request is rejected because there is noAuthenticationobject in theSecurityContext.AuthenticationServiceException Thrown if an authentication request could not be processed due to a system problem.BadCredentialsException Thrown if an authentication request is rejected because the credentials are invalid.CredentialsExpiredException Thrown if an authentication request is rejected because the account's credentials have expired.DisabledException Thrown if an authentication request is rejected because the account is disabled.InsufficientAuthenticationException Thrown if an authentication request is rejected because the credentials are not sufficiently trusted.InternalAuthenticationServiceException Thrown if an authentication request could not be processed due to a system problem that occurred internally.LockedException Thrown if an authentication request is rejected because the account is locked.ProviderNotFoundException Thrown byProviderManagerif noAuthenticationProvidercould be found that supports the presentedAuthenticationobject.