java.lang.Object
org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler
digital.nedra.commons.starter.keycloak.session.config.support.KeycloakLogoutHandler
All Implemented Interfaces:
org.springframework.security.web.authentication.logout.LogoutHandler

@Component public class KeycloakLogoutHandler extends org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler
  • Field Summary

    Fields inherited from class org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
     

    Methods inherited from class org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler

    isInvalidateHttpSession, setClearAuthentication, setInvalidateHttpSession

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KeycloakLogoutHandler

      public KeycloakLogoutHandler()
  • Method Details

    • logout

      public void logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
      Specified by:
      logout in interface org.springframework.security.web.authentication.logout.LogoutHandler
      Overrides:
      logout in class org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler