Class OidcClientInitiatedServerLogoutSuccessHandler
java.lang.Object
org.apache.syncope.sra.security.AbstractServerLogoutSuccessHandler
org.apache.syncope.sra.security.oauth2.OidcClientInitiatedServerLogoutSuccessHandler
- All Implemented Interfaces:
EventListener
,ApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>
,ServerLogoutSuccessHandler
public class OidcClientInitiatedServerLogoutSuccessHandler
extends AbstractServerLogoutSuccessHandler
A reactive logout success handler for initiating OIDC logout through the user agent.
- See Also:
-
Field Summary
Fields inherited from class org.apache.syncope.sra.security.AbstractServerLogoutSuccessHandler
redirectStrategy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono
<Void> onLogoutSuccess
(WebFilterExchange exchange, Authentication authentication) void
setLogoutSuccessUrl
(URI logoutSuccessUrl) The URL to redirect to after successfully logging out when not originally an OIDC loginMethods inherited from class org.apache.syncope.sra.security.AbstractServerLogoutSuccessHandler
getPostLogout, onApplicationEvent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Field Details
-
serverLogoutSuccessHandler
-
-
Constructor Details
-
OidcClientInitiatedServerLogoutSuccessHandler
public OidcClientInitiatedServerLogoutSuccessHandler()
-
-
Method Details
-
setLogoutSuccessUrl
The URL to redirect to after successfully logging out when not originally an OIDC login- Parameters:
logoutSuccessUrl
- the url to redirect to. Default is "/login?logout".
-
onLogoutSuccess
public reactor.core.publisher.Mono<Void> onLogoutSuccess(WebFilterExchange exchange, Authentication authentication)
-