Class DefaultLoginExceptionResolver
- java.lang.Object
-
- org.springframework.security.authentication.jaas.DefaultLoginExceptionResolver
-
- All Implemented Interfaces:
LoginExceptionResolver
public class DefaultLoginExceptionResolver extends java.lang.Object implements LoginExceptionResolver
This LoginExceptionResolver simply wraps the LoginException with an AuthenticationServiceException.
-
-
Constructor Summary
Constructors Constructor Description DefaultLoginExceptionResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationException
resolveException(javax.security.auth.login.LoginException ex)
Translates a Jaas LoginException to an SpringSecurityException.
-
-
-
Method Detail
-
resolveException
public AuthenticationException resolveException(javax.security.auth.login.LoginException ex)
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.
-
-