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
-
Method Summary
Modifier and TypeMethodDescriptionTranslates a Jaas LoginException to an SpringSecurityException.
-
Constructor Details
-
DefaultLoginExceptionResolver
public DefaultLoginExceptionResolver()
-
-
Method Details
-
resolveException
Description copied from interface:LoginExceptionResolver
Translates a Jaas LoginException to an SpringSecurityException.- Specified by:
resolveException
in interfaceLoginExceptionResolver
- Parameters:
ex
- The LoginException thrown by the configured LoginModule.- Returns:
- The AuthenticationException that the JaasAuthenticationProvider should throw.
-