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 java.lang.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 Constructor Description CookieWipingLogoutHandler() -
Method Summary
Modifier and Type Method Description voidlogout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-