类 UserLogoutSuccessHandler
java.lang.Object
com.cdkjframework.security.handler.UserLogoutSuccessHandler
- 所有已实现的接口:
org.springframework.security.web.authentication.logout.LogoutSuccessHandler
@Component
public class UserLogoutSuccessHandler
extends Object
implements org.springframework.security.web.authentication.logout.LogoutSuccessHandler
退出登录成功
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
onLogoutSuccess
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) 用户登出返回结果 这里应该让前端清除掉Token
-
构造器详细资料
-
UserLogoutSuccessHandler
public UserLogoutSuccessHandler()
-
-
方法详细资料
-
onLogoutSuccess
public void onLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) 用户登出返回结果 这里应该让前端清除掉Token- 指定者:
onLogoutSuccess
在接口中org.springframework.security.web.authentication.logout.LogoutSuccessHandler
-