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