|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AuthenticationException | |
---|---|
org.springframework.security.access.intercept | Abstract level security interception classes which are responsible for enforcing the configured security constraints for a secure object. |
org.springframework.security.authentication | Core classes and interfaces related to user authentication, which are used throughout Spring Security. |
org.springframework.security.authentication.dao | An AuthenticationProvider which relies upon a data access object. |
org.springframework.security.authentication.event | Authentication success and failure events which can be published to the Spring application context. |
org.springframework.security.authentication.jaas | An authentication provider for JAAS. |
org.springframework.security.authentication.rcp | Allows remote clients to authenticate and obtain a populated Authentication object. |
org.springframework.security.cas.authentication | An AuthenticationProvider that can process CAS service tickets and proxy tickets. |
org.springframework.security.cas.web | Authenticates standard web browser users via CAS. |
org.springframework.security.config.authentication | Parsing of <authentication-manager> and related elements. |
org.springframework.security.core.userdetails | The standard interfaces for implementing user data DAOs. |
org.springframework.security.ldap.authentication | The LDAP authentication provider package. |
org.springframework.security.openid | Authenticates standard web browser users via OpenID. |
org.springframework.security.provisioning | Contains simple user and authority group account provisioning interfaces together with a a JDBC-based implementation. |
org.springframework.security.web | Spring Security's web security module. |
org.springframework.security.web.access | Access-control related classes and packages. |
org.springframework.security.web.authentication | Authentication processing mechanisms, which respond to the submission of authentication credentials using various protocols (eg BASIC, CAS, form login etc). |
org.springframework.security.web.authentication.preauth | Support for "pre-authenticated" scenarios, where Spring Security assumes the incoming request has already been authenticated by some externally configured system. |
org.springframework.security.web.authentication.rememberme | Support for remembering a user between different web sessions. |
org.springframework.security.web.authentication.session | Strategy interface and implementations for handling session-related behaviour for a newly authenticated user. |
org.springframework.security.web.authentication.switchuser | Provides HTTP-based "switch user" (su) capabilities. |
org.springframework.security.web.authentication.www | WWW-Authenticate based authentication mechanism implementations: Basic and Digest authentication. |
Uses of AuthenticationException in org.springframework.security.access.intercept |
---|
Methods in org.springframework.security.access.intercept that throw AuthenticationException | |
---|---|
Authentication |
RunAsImplAuthenticationProvider.authenticate(Authentication authentication)
|
Uses of AuthenticationException in org.springframework.security.authentication |
---|
Subclasses of AuthenticationException in org.springframework.security.authentication | |
---|---|
class |
AccountExpiredException
Thrown if an authentication request is rejected because the account has expired. |
class |
AccountStatusException
Base class for authentication exceptions which are caused by a particular user account status (locked, disabled etc). |
class |
AuthenticationCredentialsNotFoundException
Thrown if an authentication request is rejected because there is no Authentication object in the SecurityContext . |
class |
AuthenticationServiceException
Thrown if an authentication request could not be processed due to a system problem. |
class |
BadCredentialsException
Thrown if an authentication request is rejected because the credentials are invalid. |
class |
CredentialsExpiredException
Thrown if an authentication request is rejected because the account's credentials have expired. |
class |
DisabledException
Thrown if an authentication request is rejected because the account is disabled. |
class |
InsufficientAuthenticationException
Thrown if an authentication request is rejected because the credentials are not sufficiently trusted. |
class |
LockedException
Thrown if an authentication request is rejected because the account is locked. |
class |
ProviderNotFoundException
Thrown by ProviderManager if no AuthenticationProvider could be found that supports the
presented Authentication object. |
Methods in org.springframework.security.authentication with parameters of type AuthenticationException | |
---|---|
void |
AuthenticationEventPublisher.publishAuthenticationFailure(AuthenticationException exception,
Authentication authentication)
|
void |
DefaultAuthenticationEventPublisher.publishAuthenticationFailure(AuthenticationException exception,
Authentication authentication)
|
Methods in org.springframework.security.authentication that throw AuthenticationException | |
---|---|
Authentication |
AuthenticationManager.authenticate(Authentication authentication)
Attempts to authenticate the passed Authentication object, returning a fully populated
Authentication object (including granted authorities) if successful. |
Authentication |
AuthenticationProvider.authenticate(Authentication authentication)
Performs authentication with the same contract as AuthenticationManager.authenticate(Authentication) . |
Authentication |
AnonymousAuthenticationProvider.authenticate(Authentication authentication)
|
Authentication |
AbstractAuthenticationManager.authenticate(Authentication authRequest)
An implementation of the authenticate method that calls the abstract method
doAuthenticatation to do its work. |
Authentication |
RememberMeAuthenticationProvider.authenticate(Authentication authentication)
|
Authentication |
TestingAuthenticationProvider.authenticate(Authentication authentication)
|
protected abstract Authentication |
AbstractAuthenticationManager.doAuthentication(Authentication authentication)
Concrete implementations of this class override this method to provide the authentication service. |
Authentication |
ProviderManager.doAuthentication(Authentication authentication)
Attempts to authenticate the passed Authentication object. |
Uses of AuthenticationException in org.springframework.security.authentication.dao |
---|
Methods in org.springframework.security.authentication.dao that throw AuthenticationException | |
---|---|
protected abstract void |
AbstractUserDetailsAuthenticationProvider.additionalAuthenticationChecks(UserDetails userDetails,
UsernamePasswordAuthenticationToken authentication)
Allows subclasses to perform any additional checks of a returned (or cached) UserDetails
for a given authentication request. |
protected void |
DaoAuthenticationProvider.additionalAuthenticationChecks(UserDetails userDetails,
UsernamePasswordAuthenticationToken authentication)
|
Authentication |
AbstractUserDetailsAuthenticationProvider.authenticate(Authentication authentication)
|
protected abstract UserDetails |
AbstractUserDetailsAuthenticationProvider.retrieveUser(String username,
UsernamePasswordAuthenticationToken authentication)
Allows subclasses to actually retrieve the UserDetails from an implementation-specific
location, with the option of throwing an AuthenticationException immediately if the presented
credentials are incorrect (this is especially useful if it is necessary to bind to a resource as the user in
order to obtain or generate a UserDetails ). |
protected UserDetails |
DaoAuthenticationProvider.retrieveUser(String username,
UsernamePasswordAuthenticationToken authentication)
|
Uses of AuthenticationException in org.springframework.security.authentication.event |
---|
Methods in org.springframework.security.authentication.event that return AuthenticationException | |
---|---|
AuthenticationException |
AbstractAuthenticationFailureEvent.getException()
|
Uses of AuthenticationException in org.springframework.security.authentication.jaas |
---|
Methods in org.springframework.security.authentication.jaas that return AuthenticationException | |
---|---|
AuthenticationException |
LoginExceptionResolver.resolveException(LoginException e)
Translates a Jaas LoginException to an SpringSecurityException. |
AuthenticationException |
DefaultLoginExceptionResolver.resolveException(LoginException e)
|
Methods in org.springframework.security.authentication.jaas with parameters of type AuthenticationException | |
---|---|
protected void |
JaasAuthenticationProvider.publishFailureEvent(UsernamePasswordAuthenticationToken token,
AuthenticationException ase)
Publishes the JaasAuthenticationFailedEvent . |
Methods in org.springframework.security.authentication.jaas that throw AuthenticationException | |
---|---|
Authentication |
JaasAuthenticationProvider.authenticate(Authentication auth)
Attempts to login the user given the Authentication objects principal and credential |
Uses of AuthenticationException in org.springframework.security.authentication.rcp |
---|
Methods in org.springframework.security.authentication.rcp that throw AuthenticationException | |
---|---|
Authentication |
RemoteAuthenticationProvider.authenticate(Authentication authentication)
|
Uses of AuthenticationException in org.springframework.security.cas.authentication |
---|
Methods in org.springframework.security.cas.authentication that throw AuthenticationException | |
---|---|
Authentication |
CasAuthenticationProvider.authenticate(Authentication authentication)
|
Uses of AuthenticationException in org.springframework.security.cas.web |
---|
Methods in org.springframework.security.cas.web with parameters of type AuthenticationException | |
---|---|
void |
CasAuthenticationEntryPoint.commence(HttpServletRequest servletRequest,
HttpServletResponse response,
AuthenticationException authenticationException)
|
Methods in org.springframework.security.cas.web that throw AuthenticationException | |
---|---|
Authentication |
CasAuthenticationFilter.attemptAuthentication(HttpServletRequest request,
HttpServletResponse response)
|
Uses of AuthenticationException in org.springframework.security.config.authentication |
---|
Methods in org.springframework.security.config.authentication that throw AuthenticationException | |
---|---|
Authentication |
AuthenticationManagerBeanDefinitionParser.NullAuthenticationProvider.authenticate(Authentication authentication)
|
Uses of AuthenticationException in org.springframework.security.core.userdetails |
---|
Subclasses of AuthenticationException in org.springframework.security.core.userdetails | |
---|---|
class |
UsernameNotFoundException
Thrown if an UserDetailsService implementation cannot locate a User by its username. |
Uses of AuthenticationException in org.springframework.security.ldap.authentication |
---|
Methods in org.springframework.security.ldap.authentication that throw AuthenticationException | |
---|---|
Authentication |
LdapAuthenticationProvider.authenticate(Authentication authentication)
|
Uses of AuthenticationException in org.springframework.security.openid |
---|
Subclasses of AuthenticationException in org.springframework.security.openid | |
---|---|
class |
AuthenticationCancelledException
Indicates that OpenID authentication was cancelled |
Methods in org.springframework.security.openid that throw AuthenticationException | |
---|---|
Authentication |
OpenIDAuthenticationFilter.attemptAuthentication(HttpServletRequest request,
HttpServletResponse response)
Authentication has two phases. |
Authentication |
OpenIDAuthenticationProvider.authenticate(Authentication authentication)
|
Uses of AuthenticationException in org.springframework.security.provisioning |
---|
Methods in org.springframework.security.provisioning that throw AuthenticationException | |
---|---|
void |
JdbcUserDetailsManager.changePassword(String oldPassword,
String newPassword)
|
Uses of AuthenticationException in org.springframework.security.web |
---|
Methods in org.springframework.security.web with parameters of type AuthenticationException | |
---|---|
void |
AuthenticationEntryPoint.commence(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException authException)
Commences an authentication scheme. |
Uses of AuthenticationException in org.springframework.security.web.access |
---|
Methods in org.springframework.security.web.access with parameters of type AuthenticationException | |
---|---|
protected void |
ExceptionTranslationFilter.sendStartAuthentication(HttpServletRequest request,
HttpServletResponse response,
FilterChain chain,
AuthenticationException reason)
|
Uses of AuthenticationException in org.springframework.security.web.authentication |
---|
Methods in org.springframework.security.web.authentication with parameters of type AuthenticationException | |
---|---|
protected String |
LoginUrlAuthenticationEntryPoint.buildRedirectUrlToLoginPage(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException authException)
|
void |
LoginUrlAuthenticationEntryPoint.commence(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException authException)
Performs the redirect (or forward) to the login form URL. |
void |
DelegatingAuthenticationEntryPoint.commence(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException authException)
|
void |
Http403ForbiddenEntryPoint.commence(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException arg2)
Always returns a 403 error code to the client. |
protected String |
LoginUrlAuthenticationEntryPoint.determineUrlToUseForThisRequest(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException exception)
Allows subclasses to modify the login form URL that should be applicable for a given request. |
void |
AuthenticationFailureHandler.onAuthenticationFailure(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException exception)
Called when an authentication attempt fails. |
void |
SimpleUrlAuthenticationFailureHandler.onAuthenticationFailure(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException exception)
Performs the redirect or forward to the defaultFailureUrl if set, otherwise returns a 401 error code. |
void |
ExceptionMappingAuthenticationFailureHandler.onAuthenticationFailure(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException exception)
|
protected void |
SimpleUrlAuthenticationFailureHandler.saveException(HttpServletRequest request,
AuthenticationException exception)
Caches the AuthenticationException for use in view rendering. |
protected void |
AbstractAuthenticationProcessingFilter.unsuccessfulAuthentication(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException failed)
Default behaviour for unsuccessful authentication. |
Methods in org.springframework.security.web.authentication that throw AuthenticationException | |
---|---|
abstract Authentication |
AbstractAuthenticationProcessingFilter.attemptAuthentication(HttpServletRequest request,
HttpServletResponse response)
Performs actual authentication. |
Authentication |
UsernamePasswordAuthenticationFilter.attemptAuthentication(HttpServletRequest request,
HttpServletResponse response)
|
Uses of AuthenticationException in org.springframework.security.web.authentication.preauth |
---|
Subclasses of AuthenticationException in org.springframework.security.web.authentication.preauth | |
---|---|
class |
PreAuthenticatedCredentialsNotFoundException
|
Methods in org.springframework.security.web.authentication.preauth with parameters of type AuthenticationException | |
---|---|
protected void |
AbstractPreAuthenticatedProcessingFilter.unsuccessfulAuthentication(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException failed)
Ensures the authentication object in the secure context is set to null when authentication fails. |
Methods in org.springframework.security.web.authentication.preauth that throw AuthenticationException | |
---|---|
Authentication |
PreAuthenticatedAuthenticationProvider.authenticate(Authentication authentication)
Authenticate the given PreAuthenticatedAuthenticationToken. |
UserDetails |
PreAuthenticatedGrantedAuthoritiesUserDetailsService.loadUserDetails(Authentication token)
Get a UserDetails object based on the user name contained in the given token, and the GrantedAuthorities as returned by the GrantedAuthoritiesContainer implementation as returned by the token.getDetails() method. |
Uses of AuthenticationException in org.springframework.security.web.authentication.rememberme |
---|
Subclasses of AuthenticationException in org.springframework.security.web.authentication.rememberme | |
---|---|
class |
CookieTheftException
|
class |
InvalidCookieException
Exception thrown by a RememberMeServices implementation to indicate that a submitted cookie is of an invalid format or has expired. |
class |
RememberMeAuthenticationException
|
Methods in org.springframework.security.web.authentication.rememberme with parameters of type AuthenticationException | |
---|---|
protected void |
RememberMeAuthenticationFilter.onUnsuccessfulAuthentication(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException failed)
Called if the AuthenticationManager rejects the authentication object returned from the RememberMeServices autoLogin method. |
Uses of AuthenticationException in org.springframework.security.web.authentication.session |
---|
Subclasses of AuthenticationException in org.springframework.security.web.authentication.session | |
---|---|
class |
SessionAuthenticationException
Thrown by an SessionAuthenticationStrategy to indicate that an authentication object is not valid for the current session, typically because the same user has exceeded the number of sessions they are allowed to have concurrently. |
Uses of AuthenticationException in org.springframework.security.web.authentication.switchuser |
---|
Methods in org.springframework.security.web.authentication.switchuser that throw AuthenticationException | |
---|---|
protected Authentication |
SwitchUserFilter.attemptSwitchUser(HttpServletRequest request)
Attempt to switch to another user. |
Uses of AuthenticationException in org.springframework.security.web.authentication.www |
---|
Subclasses of AuthenticationException in org.springframework.security.web.authentication.www | |
---|---|
class |
NonceExpiredException
Thrown if an authentication request is rejected because the digest nonce has expired. |
Methods in org.springframework.security.web.authentication.www with parameters of type AuthenticationException | |
---|---|
void |
DigestAuthenticationEntryPoint.commence(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException authException)
|
void |
BasicAuthenticationEntryPoint.commence(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException authException)
|
protected void |
BasicAuthenticationFilter.onUnsuccessfulAuthentication(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException failed)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |