java.lang.Object
org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,B>
org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer<Saml2LogoutConfigurer<H>,H>
org.springframework.security.config.annotation.web.configurers.saml2.Saml2LogoutConfigurer<H>
All Implemented Interfaces:
SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,H>

public final class Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>> extends AbstractHttpConfigurer<Saml2LogoutConfigurer<H>,H>
Adds SAML 2.0 logout support.

Security Filters

The following Filters are populated
  • LogoutFilter
  • Saml2LogoutRequestFilter
  • Saml2LogoutResponseFilter

The following configuration options are available:

  • logoutUrl - The URL to to process SAML 2.0 Logout
  • Saml2LogoutConfigurer.LogoutRequestConfigurer.logoutRequestValidator - The AuthenticationManager for authenticating SAML 2.0 Logout Requests
  • Saml2LogoutConfigurer.LogoutRequestConfigurer.logoutRequestResolver - The Saml2LogoutRequestResolver for creating SAML 2.0 Logout Requests
  • Saml2LogoutConfigurer.LogoutRequestConfigurer.logoutRequestRepository - The Saml2LogoutRequestRepository for storing SAML 2.0 Logout Requests
  • Saml2LogoutConfigurer.LogoutResponseConfigurer.logoutResponseValidator - The AuthenticationManager for authenticating SAML 2.0 Logout Responses
  • Saml2LogoutConfigurer.LogoutResponseConfigurer.logoutResponseResolver - The Saml2LogoutResponseResolver for creating SAML 2.0 Logout Responses

Shared Objects Created

No shared Objects are created

Shared Objects Used

Uses CsrfTokenRepository to add the CsrfLogoutHandler.
Since:
5.6
See Also: