Package org.ligoj.app.http.security
Class CookieWipingLogoutHandler
java.lang.Object
org.ligoj.app.http.security.CookieWipingLogoutHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.logout.LogoutHandler
public final class CookieWipingLogoutHandler
extends Object
implements org.springframework.security.web.authentication.logout.LogoutHandler
A logout handler which clears a defined list of cookies, using the context path and '/' as the
cookie path.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlogout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
-
Constructor Details
-
CookieWipingLogoutHandler
public CookieWipingLogoutHandler()
-
-
Method Details
-
logout
public void logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)- Specified by:
logoutin interfaceorg.springframework.security.web.authentication.logout.LogoutHandler
-