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:
- RP-Initiated Logout,
ServerLogoutSuccessHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected RedirectServerLogoutSuccessHandlerserverLogoutSuccessHandler-
Fields inherited from class org.apache.syncope.sra.security.AbstractServerLogoutSuccessHandler
redirectStrategy
-
-
Constructor Summary
Constructors Constructor Description OidcClientInitiatedServerLogoutSuccessHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Void>onLogoutSuccess(WebFilterExchange exchange, Authentication authentication)voidsetLogoutSuccessUrl(URI logoutSuccessUrl)The URL to redirect to after successfully logging out when not originally an OIDC login-
Methods inherited from class org.apache.syncope.sra.security.AbstractServerLogoutSuccessHandler
getPostLogout, onApplicationEvent
-
-
-
-
Field Detail
-
serverLogoutSuccessHandler
protected final RedirectServerLogoutSuccessHandler serverLogoutSuccessHandler
-
-
Method Detail
-
setLogoutSuccessUrl
public void setLogoutSuccessUrl(URI logoutSuccessUrl)
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)
-
-