Class DefaultLoginExceptionResolver
java.lang.Object
org.springframework.security.authentication.jaas.DefaultLoginExceptionResolver
- All Implemented Interfaces:
LoginExceptionResolver
This LoginExceptionResolver simply wraps the LoginException with an
AuthenticationServiceException.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTranslates a Jaas LoginException to an SpringSecurityException.
-
Constructor Details
-
DefaultLoginExceptionResolver
public DefaultLoginExceptionResolver()
-
-
Method Details
-
resolveException
Description copied from interface:LoginExceptionResolverTranslates a Jaas LoginException to an SpringSecurityException.- Specified by:
resolveExceptionin interfaceLoginExceptionResolver- Parameters:
ex- The LoginException thrown by the configured LoginModule.- Returns:
- The AuthenticationException that the JaasAuthenticationProvider should throw.
-