Class DefaultLoginExceptionResolver

  • All Implemented Interfaces:

    public class DefaultLoginExceptionResolver
    extends java.lang.Object
    implements LoginExceptionResolver
    This LoginExceptionResolver simply wraps the LoginException with an AuthenticationServiceException.
    • Constructor Detail

      • DefaultLoginExceptionResolver

        public DefaultLoginExceptionResolver()
    • Method Detail

      • resolveException

        public AuthenticationException resolveException​( ex)
        Description copied from interface: LoginExceptionResolver
        Translates a Jaas LoginException to an SpringSecurityException.
        Specified by:
        resolveException in interface LoginExceptionResolver
        ex - The LoginException thrown by the configured LoginModule.
        The AuthenticationException that the JaasAuthenticationProvider should throw.