Class ForwardLogoutSuccessHandler
java.lang.Object
org.springframework.security.web.authentication.logout.ForwardLogoutSuccessHandler
- All Implemented Interfaces:
- LogoutSuccessHandler
LogoutSuccessHandler implementation that will perform a request dispatcher
 "forward" to the specified target URL.- Since:
- 5.0
- 
Constructor SummaryConstructorsConstructorDescriptionForwardLogoutSuccessHandler(String targetUrl) Construct a newForwardLogoutSuccessHandlerwith the given target URL.
- 
Method SummaryModifier and TypeMethodDescriptionvoidonLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) 
- 
Constructor Details- 
ForwardLogoutSuccessHandlerConstruct a newForwardLogoutSuccessHandlerwith the given target URL.- Parameters:
- targetUrl- the target URL
 
 
- 
- 
Method Details- 
onLogoutSuccesspublic void onLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) throws IOException, jakarta.servlet.ServletException - Specified by:
- onLogoutSuccessin interface- LogoutSuccessHandler
- Throws:
- IOException
- jakarta.servlet.ServletException
 
 
-