类 UserLoginSuccessHandler

java.lang.Object
com.cdkjframework.security.handler.UserLoginSuccessHandler
所有已实现的接口:
org.springframework.security.web.authentication.AuthenticationSuccessHandler

@Component public class UserLoginSuccessHandler extends Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
用户登录成功
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
    权限认证成功

    从类继承的方法 java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.springframework.security.web.authentication.AuthenticationSuccessHandler

    onAuthenticationSuccess
  • 构造器详细资料

    • UserLoginSuccessHandler

      public UserLoginSuccessHandler()
  • 方法详细资料

    • onAuthenticationSuccess

      public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, jakarta.servlet.ServletException
      权限认证成功
      指定者:
      onAuthenticationSuccess 在接口中 org.springframework.security.web.authentication.AuthenticationSuccessHandler
      参数:
      request - 请求
      response - 响应
      authentication - 权限
      抛出:
      IOException - 异常信息
      jakarta.servlet.ServletException - 异常信息