Interface AuthenticationFailureHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onAuthenticationFailure​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception)
      Called when an authentication attempt fails.
    • Method Detail

      • onAuthenticationFailure

        void onAuthenticationFailure​(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response,
                                     org.springframework.security.core.AuthenticationException exception)
                              throws java.io.IOException,
                                     javax.servlet.ServletException
        Called when an authentication attempt fails.
        Parameters:
        request - the request during which the authentication attempt occurred.
        response - the response.
        exception - the exception which was thrown to reject the authentication request.
        Throws:
        java.io.IOException
        javax.servlet.ServletException