public class DelegatingLogoutSuccessHandler extends Object implements LogoutSuccessHandler
Constructor and Description |
---|
DelegatingLogoutSuccessHandler(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(LinkedHashMap<RequestMatcher,LogoutSuccessHandler> matcherToHandler)
public void onLogoutSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Authentication authentication) throws IOException, javax.servlet.ServletException
onLogoutSuccess
in interface LogoutSuccessHandler
IOException
javax.servlet.ServletException
public void setDefaultLogoutSuccessHandler(LogoutSuccessHandler defaultLogoutSuccessHandler)
LogoutSuccessHandler
if no other handlers availabledefaultLogoutSuccessHandler
- the defaultLogoutSuccessHandler to set