类 AjaxAuthenticationSuccessHandler

  • 所有已实现的接口:
    org.springframework.security.web.authentication.AuthenticationSuccessHandler

    @Component
    public class AjaxAuthenticationSuccessHandler
    extends org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
    • 字段概要

      • 从类继承的字段 org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler

        logger
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)  
      • 从类继承的方法 org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler

        clearAuthenticationAttributes
      • 从类继承的方法 org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler

        determineTargetUrl, determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
      • 从接口继承的方法 org.springframework.security.web.authentication.AuthenticationSuccessHandler

        onAuthenticationSuccess
    • 构造器详细资料

      • AjaxAuthenticationSuccessHandler

        public AjaxAuthenticationSuccessHandler()
    • 方法详细资料

      • 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
        指定者:
        onAuthenticationSuccess 在接口中 org.springframework.security.web.authentication.AuthenticationSuccessHandler
        覆盖:
        onAuthenticationSuccess 在类中 org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
        抛出:
        IOException
        javax.servlet.ServletException