com.atlassian.crowd.integration.springsecurity
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrowdLogoutHandler
public CrowdLogoutHandler()
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:
logout
in interface org.springframework.security.web.authentication.logout.LogoutHandler
- Parameters:
request
- the HTTP requestresponse
- the HTTP resonseauthentication
- the current principal details
getHttpAuthenticator
public HttpAuthenticator getHttpAuthenticator()
setHttpAuthenticator
public void setHttpAuthenticator(HttpAuthenticator httpAuthenticator)
Copyright © 2012 Atlassian. All Rights Reserved.