java.lang.Object |
↳ |
org.springframework.security.web.authentication.logout.CookieClearingLogoutHandler |
Class Overview
A logout handler which clears a defined list of cookies, using the context path as the
cookie path.
Summary
Public Methods |
void
|
logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
Causes a logout to be completed.
|
Public Constructors
public
CookieClearingLogoutHandler
(String... cookiesToClear)
Public Methods
public
void
logout
(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
Causes a logout to be completed. The method must complete successfully.
Parameters
request
| the HTTP request |
response
| the HTTP response |
authentication
| the current principal details
|