Class KeycloakLogoutHandler
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidlogout(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
-
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:
logoutin interfaceorg.springframework.security.web.authentication.logout.LogoutHandler- Overrides:
logoutin classorg.springframework.security.web.authentication.logout.SecurityContextLogoutHandler
-