Uses of Class
org.springframework.security.core.AuthenticationException

Packages that use AuthenticationException
org.springframework.security.access.intercept Actually enforces the security and ties the whole security system together. 
org.springframework.security.authentication Implements a provider-based approach to authentication decisions. 
org.springframework.security.authentication.dao An authentication provider that relies upon a data access object. 
org.springframework.security.authentication.event Enables authentication events to 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 authentication provider that can process JA-SIG Central Authentication Service (CAS) service tickets and proxy tickets. 
org.springframework.security.cas.web Authenticates standard web browser users via JA-SIG Central Authentication Service (CAS). 
org.springframework.security.config.authentication   
org.springframework.security.core.userdetails   
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   
org.springframework.security.web.access   
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   
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 Contains 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 DefaultAuthenticationEventPublisher.publishAuthenticationFailure(AuthenticationException exception, Authentication authentication)
           
 void AuthenticationEventPublisher.publishAuthenticationFailure(AuthenticationException exception, Authentication authentication)
           
 

Methods in org.springframework.security.authentication that throw AuthenticationException
 Authentication TestingAuthenticationProvider.authenticate(Authentication authentication)
           
 Authentication RememberMeAuthenticationProvider.authenticate(Authentication authentication)
           
 Authentication AuthenticationProvider.authenticate(Authentication authentication)
          Performs authentication with the same contract as AuthenticationManager.authenticate(Authentication).
 Authentication AuthenticationManager.authenticate(Authentication authentication)
          Attempts to authenticate the passed Authentication object, returning a fully populated Authentication object (including granted authorities) if successful.
 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 ProviderManager.doAuthentication(Authentication authentication)
          Attempts to authenticate the passed Authentication object.
protected abstract  Authentication AbstractAuthenticationManager.doAuthentication(Authentication authentication)
          Concrete implementations of this class override this method to provide the authentication service.
 

Uses of AuthenticationException in org.springframework.security.authentication.dao
 

Methods in org.springframework.security.authentication.dao that throw AuthenticationException
protected  void DaoAuthenticationProvider.additionalAuthenticationChecks(UserDetails userDetails, UsernamePasswordAuthenticationToken authentication)
           
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.
 Authentication AbstractUserDetailsAuthenticationProvider.authenticate(Authentication authentication)
           
protected  UserDetails DaoAuthenticationProvider.retrieveUser(String username, UsernamePasswordAuthenticationToken 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).
 

Uses of AuthenticationException in org.springframework.security.authentication.event
 

Methods in org.springframework.security.authentication.event that return AuthenticationException
 AuthenticationException AbstractAuthenticationFailureEvent.getException()
           
 

Constructors in org.springframework.security.authentication.event with parameters of type AuthenticationException
AbstractAuthenticationFailureEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureBadCredentialsEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureCredentialsExpiredEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureDisabledEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureExpiredEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureLockedEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureProviderNotFoundEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureProxyUntrustedEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureServiceExceptionEvent(Authentication authentication, AuthenticationException exception)
           
 

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 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 SimpleUrlAuthenticationFailureHandler.onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response, AuthenticationException exception)
           
 void ExceptionMappingAuthenticationFailureHandler.onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response, AuthenticationException exception)
           
 void AuthenticationFailureHandler.onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response, AuthenticationException exception)
          Called when an authentication attempt fails.
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
 Authentication UsernamePasswordAuthenticationFilter.attemptAuthentication(HttpServletRequest request, HttpServletResponse response)
           
abstract  Authentication AbstractAuthenticationProcessingFilter.attemptAuthentication(HttpServletRequest request, HttpServletResponse response)
          Performs actual authentication.
 

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)
           
 



Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.