Class ForwardAuthenticationFailureHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onAuthenticationFailure​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationException exception)
      Called when an authentication attempt fails.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ForwardAuthenticationFailureHandler

        public ForwardAuthenticationFailureHandler​(java.lang.String forwardUrl)
        Parameters:
        forwardUrl -
    • Method Detail

      • onAuthenticationFailure

        public void onAuthenticationFailure​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            AuthenticationException exception)
                                     throws java.io.IOException,
                                            javax.servlet.ServletException
        Description copied from interface: AuthenticationFailureHandler
        Called when an authentication attempt fails.
        Specified by:
        onAuthenticationFailure in interface AuthenticationFailureHandler
        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