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(HttpServletRequest request,
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(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws java.io.IOException, ServletException
onLogoutSuccess
in interface LogoutSuccessHandler
java.io.IOException
ServletException
public void setDefaultLogoutSuccessHandler(LogoutSuccessHandler defaultLogoutSuccessHandler)
LogoutSuccessHandler
if no other handlers availabledefaultLogoutSuccessHandler
- the defaultLogoutSuccessHandler to set