类 MyLogoutSuccessHandler
java.lang.Object
com.codingapi.springboot.security.filter.MyLogoutSuccessHandler
- 所有已实现的接口:
org.springframework.security.web.authentication.logout.LogoutSuccessHandler
public class MyLogoutSuccessHandler
extends Object
implements org.springframework.security.web.authentication.logout.LogoutSuccessHandler
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
-
构造器详细资料
-
MyLogoutSuccessHandler
public MyLogoutSuccessHandler()
-
-
方法详细资料
-
onLogoutSuccess
public void onLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, jakarta.servlet.ServletException - 指定者:
onLogoutSuccess在接口中org.springframework.security.web.authentication.logout.LogoutSuccessHandler- 抛出:
IOExceptionjakarta.servlet.ServletException
-