Interface AuthenticationSuccessHandler

    • Method Detail

      • onAuthenticationSuccess

        default void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request,
                                             javax.servlet.http.HttpServletResponse response,
                                             javax.servlet.FilterChain chain,
                                             Authentication authentication)
                                      throws java.io.IOException,
                                             javax.servlet.ServletException
        Called when a user has been successfully authenticated.
        Parameters:
        request - the request which caused the successful authentication
        response - the response
        chain - the FilterChain which can be used to proceed other filters in the chain
        authentication - the Authentication object which was created during the authentication process.
        Throws:
        java.io.IOException
        javax.servlet.ServletException
        Since:
        5.2.0
      • onAuthenticationSuccess

        void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response,
                                     Authentication authentication)
                              throws java.io.IOException,
                                     javax.servlet.ServletException
        Called when a user has been successfully authenticated.
        Parameters:
        request - the request which caused the successful authentication
        response - the response
        authentication - the Authentication object which was created during the authentication process.
        Throws:
        java.io.IOException
        javax.servlet.ServletException