public class DelegatingLogoutSuccessHandler extends java.lang.Object implements LogoutSuccessHandler
Constructor and Description |
---|
DelegatingLogoutSuccessHandler(java.util.LinkedHashMap<RequestMatcher,LogoutSuccessHandler> matcherToHandler) |
Modifier and Type | Method and Description |
---|---|
void |
onLogoutSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Authentication authentication) |
void |
setDefaultLogoutSuccessHandler(LogoutSuccessHandler defaultLogoutSuccessHandler)
Sets the default
LogoutSuccessHandler if no other handlers available |
public DelegatingLogoutSuccessHandler(java.util.LinkedHashMap<RequestMatcher,LogoutSuccessHandler> matcherToHandler)
public void onLogoutSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Authentication authentication) throws java.io.IOException, javax.servlet.ServletException
onLogoutSuccess
in interface LogoutSuccessHandler
java.io.IOException
javax.servlet.ServletException
public void setDefaultLogoutSuccessHandler(LogoutSuccessHandler defaultLogoutSuccessHandler)
LogoutSuccessHandler
if no other handlers availabledefaultLogoutSuccessHandler
- the defaultLogoutSuccessHandler to set