Class AuthenticationErrorHandler

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.AuthenticationFailureHandler

    @Component
    public class AuthenticationErrorHandler
    extends Object
    implements org.springframework.security.web.authentication.AuthenticationFailureHandler
    • Constructor Detail

      • AuthenticationErrorHandler

        public AuthenticationErrorHandler()
    • Method Detail

      • onAuthenticationFailure

        public void onAuthenticationFailure​(javax.servlet.http.HttpServletRequest httpServletRequest,
                                            javax.servlet.http.HttpServletResponse httpServletResponse,
                                            org.springframework.security.core.AuthenticationException e)
                                     throws IOException,
                                            javax.servlet.ServletException
        Specified by:
        onAuthenticationFailure in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
        Throws:
        IOException
        javax.servlet.ServletException