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 Details

    • AuthenticationLogoutHandler

      public AuthenticationLogoutHandler(StatelessUtil sessionUtil)
  • Method Details

    • logout

      public void logout(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
      Specified by:
      logout in interface org.springframework.security.web.authentication.logout.LogoutHandler
    • removeThirdPartyIdpCookieIfPresent

      protected void removeThirdPartyIdpCookieIfPresent(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    • getThirdPartyIdpCookie

      protected jakarta.servlet.http.Cookie getThirdPartyIdpCookie(jakarta.servlet.http.HttpServletRequest request)
    • getSessionUtil

      protected StatelessUtil getSessionUtil()