Class AjaxAuthenticationSuccessHandler

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.AuthenticationSuccessHandler

    public class AjaxAuthenticationSuccessHandler
    extends Object
    implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
    Spring Security success handler, specialized for Ajax requests.
    • Constructor Detail

      • AjaxAuthenticationSuccessHandler

        public AjaxAuthenticationSuccessHandler()
    • Method Detail

      • onAuthenticationSuccess

        public void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            org.springframework.security.core.Authentication authentication)
                                     throws IOException,
                                            javax.servlet.ServletException
        Specified by:
        onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
        Throws:
        IOException
        javax.servlet.ServletException