Class SimpleUrlLogoutSuccessHandler
java.lang.Object
org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
- All Implemented Interfaces:
LogoutSuccessHandler
- Direct Known Subclasses:
OidcClientInitiatedLogoutSuccessHandler
public class SimpleUrlLogoutSuccessHandler
extends AbstractAuthenticationTargetUrlRequestHandler
implements LogoutSuccessHandler
Handles the navigation on logout by delegating to the
AbstractAuthenticationTargetUrlRequestHandler
base class logic.- Since:
- 3.0
-
Field Summary
Fields inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLogoutSuccess
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
determineTargetUrl, determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
-
Constructor Details
-
SimpleUrlLogoutSuccessHandler
public SimpleUrlLogoutSuccessHandler()
-
-
Method Details
-
onLogoutSuccess
public void onLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) throws IOException, jakarta.servlet.ServletException - Specified by:
onLogoutSuccess
in interfaceLogoutSuccessHandler
- Throws:
IOException
jakarta.servlet.ServletException
-