public final class

CookieClearingLogoutHandler

extends Object
implements LogoutHandler
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 Constructors
CookieClearingLogoutHandler(String... cookiesToClear)
Public Methods
void logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
Causes a logout to be completed.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.security.web.authentication.logout.LogoutHandler

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