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 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:
      logout in interface org.springframework.security.web.authentication.logout.LogoutHandler
      Parameters:
      request - the HTTP request
      response - the HTTP resonse
      authentication - the current principal details
    • setHttpAuthenticator

      public void setHttpAuthenticator(CrowdHttpAuthenticator httpAuthenticator)