public final class CookieClearingLogoutHandler extends java.lang.Object implements LogoutHandler
Constructor and Description |
---|
CookieClearingLogoutHandler(java.lang.String... cookiesToClear) |
Modifier and Type | Method and Description |
---|---|
void |
logout(HttpServletRequest request,
HttpServletResponse response,
Authentication authentication)
Causes a logout to be completed.
|
public CookieClearingLogoutHandler(java.lang.String... cookiesToClear)
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