Class SsoLogoutSuccessHandler
java.lang.Object
org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
org.springframework.security.oauth2.client.oidc.web.logout.OidcClientInitiatedLogoutSuccessHandler
org.camunda.bpm.spring.boot.starter.security.oauth2.impl.SsoLogoutSuccessHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.logout.LogoutSuccessHandler
public class SsoLogoutSuccessHandler
extends org.springframework.security.oauth2.client.oidc.web.logout.OidcClientInitiatedLogoutSuccessHandler
OidcClientInitiatedLogoutSuccessHandler
with logging.-
Constructor Summary
ConstructorDescriptionSsoLogoutSuccessHandler
(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository, OAuth2Properties oAuth2Properties) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onLogoutSuccess
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) Methods inherited from class org.springframework.security.oauth2.client.oidc.web.logout.OidcClientInitiatedLogoutSuccessHandler
determineTargetUrl, setPostLogoutRedirectUri
Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
-
Constructor Details
-
SsoLogoutSuccessHandler
public SsoLogoutSuccessHandler(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository, OAuth2Properties oAuth2Properties)
-
-
Method Details
-
onLogoutSuccess
public void onLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, jakarta.servlet.ServletException - Specified by:
onLogoutSuccess
in interfaceorg.springframework.security.web.authentication.logout.LogoutSuccessHandler
- Overrides:
onLogoutSuccess
in classorg.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
- Throws:
IOException
jakarta.servlet.ServletException
-