public interface

LoginExceptionResolver

org.springframework.security.authentication.jaas.LoginExceptionResolver
Known Indirect Subclasses

Class Overview

The JaasAuthenticationProvider takes an instance of LoginExceptionResolver to resolve LoginModule specific exceptions to Spring Security AuthenticationExceptions. For instance, a configured login module could throw a ScrewedUpPasswordException that extends LoginException, in this instance the LoginExceptionResolver implementation would return a BadCredentialsException.

Summary

Public Methods
abstract AuthenticationException resolveException(LoginException e)
Translates a Jaas LoginException to an SpringSecurityException.

Public Methods

public abstract AuthenticationException resolveException (LoginException e)

Translates a Jaas LoginException to an SpringSecurityException.

Parameters
e The LoginException thrown by the configured LoginModule.
Returns
  • The AuthenticationException that the JaasAuthenticationProvider should throw.