类 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) 权限认证成功从接口继承的方法 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
- 异常信息
-