Class AuthenticationLogoutHandler
- java.lang.Object
-
- com.broadleafcommerce.auth.user.web.logout.AuthenticationLogoutHandler
-
- All Implemented Interfaces:
org.springframework.security.web.authentication.logout.LogoutHandler
public class AuthenticationLogoutHandler extends Object implements org.springframework.security.web.authentication.logout.LogoutHandler
-
-
Constructor Summary
Constructors Constructor Description AuthenticationLogoutHandler(StatelessUtil sessionUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StatelessUtil
getSessionUtil()
protected javax.servlet.http.Cookie
getThirdPartyIdpCookie(javax.servlet.http.HttpServletRequest request)
void
logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
protected void
removeThirdPartyIdpCookieIfPresent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Constructor Detail
-
AuthenticationLogoutHandler
public AuthenticationLogoutHandler(StatelessUtil sessionUtil)
-
-
Method Detail
-
logout
public void logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
- Specified by:
logout
in interfaceorg.springframework.security.web.authentication.logout.LogoutHandler
-
removeThirdPartyIdpCookieIfPresent
protected void removeThirdPartyIdpCookieIfPresent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
getThirdPartyIdpCookie
protected javax.servlet.http.Cookie getThirdPartyIdpCookie(javax.servlet.http.HttpServletRequest request)
-
getSessionUtil
protected StatelessUtil getSessionUtil()
-
-