Class CrowdLogoutHandler
java.lang.Object
com.atlassian.crowd.integration.springsecurity.CrowdLogoutHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.logout.LogoutHandler
public class CrowdLogoutHandler
extends Object
implements org.springframework.security.web.authentication.logout.LogoutHandler
Logout handler to logout of Crowd and remove the
Crowd SSO token cookie.
This logout handler is required for SSO-based
Crowd authentication.
- Author:
- Shihab Hamid.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlogout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) Causes a logout to be completed.voidsetHttpAuthenticator(CrowdHttpAuthenticator httpAuthenticator)
-
Constructor Details
-
CrowdLogoutHandler
public CrowdLogoutHandler()
-
-
Method Details
-
logout
public void logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) Causes a logout to be completed. The method must complete successfully.- Specified by:
logoutin interfaceorg.springframework.security.web.authentication.logout.LogoutHandler- Parameters:
request- the HTTP requestresponse- the HTTP resonseauthentication- the current principal details
-
setHttpAuthenticator
-