Class ForwardAuthenticationSuccessHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
      Called when a user has been successfully authenticated.
      • Methods inherited from class java.lang.Object

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

      • ForwardAuthenticationSuccessHandler

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

      • onAuthenticationSuccess

        public void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            org.springframework.security.core.Authentication authentication)
                                     throws java.io.IOException,
                                            javax.servlet.ServletException
        Description copied from interface: AuthenticationSuccessHandler
        Called when a user has been successfully authenticated.
        Specified by:
        onAuthenticationSuccess in interface AuthenticationSuccessHandler
        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