public final class CompositeLogoutHandler extends java.lang.Object implements LogoutHandler
LogoutHandler
implementations.
If any exception is thrown by
logout(HttpServletRequest, HttpServletResponse, Authentication)
,
no additional LogoutHandler are invoked.Constructor and Description |
---|
CompositeLogoutHandler(java.util.List<LogoutHandler> logoutHandlers) |
CompositeLogoutHandler(LogoutHandler... logoutHandlers) |
Modifier and Type | Method and Description |
---|---|
void |
logout(HttpServletRequest request,
HttpServletResponse response,
Authentication authentication)
Causes a logout to be completed.
|
public CompositeLogoutHandler(LogoutHandler... logoutHandlers)
public CompositeLogoutHandler(java.util.List<LogoutHandler> logoutHandlers)
public void logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
LogoutHandler
logout
in interface LogoutHandler
request
- the HTTP requestresponse
- the HTTP responseauthentication
- the current principal details