Interface AuthenticationFailureHandler

    • Method Detail

      • onAuthenticationFailure

        void onAuthenticationFailure​(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response,
                                     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