public final class CookieClearingLogoutHandler extends Object implements LogoutHandler
Constructor and Description |
---|
CookieClearingLogoutHandler(String... cookiesToClear) |
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 CookieClearingLogoutHandler(String... cookiesToClear)
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