public class ForwardLogoutSuccessHandler extends java.lang.Object implements LogoutSuccessHandler
LogoutSuccessHandler implementation that will perform a request dispatcher
"forward" to the specified target URL.| Constructor and Description |
|---|
ForwardLogoutSuccessHandler(java.lang.String targetUrl)
Construct a new
ForwardLogoutSuccessHandler with the given target URL. |
| Modifier and Type | Method and Description |
|---|---|
void |
onLogoutSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
public ForwardLogoutSuccessHandler(java.lang.String targetUrl)
ForwardLogoutSuccessHandler with the given target URL.targetUrl - the target URLpublic void onLogoutSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication)
throws java.io.IOException,
javax.servlet.ServletException
onLogoutSuccess in interface LogoutSuccessHandlerjava.io.IOExceptionjavax.servlet.ServletException