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 Details

  • Constructor Details

    • OidcClientInitiatedServerLogoutSuccessHandler

      public OidcClientInitiatedServerLogoutSuccessHandler()
  • Method Details

    • 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)