Class Saml2LogoutConfigurer.LogoutRequestConfigurer
java.lang.Object
org.springframework.security.config.annotation.web.configurers.saml2.Saml2LogoutConfigurer.LogoutRequestConfigurer
- Enclosing class:
- Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>>
A configurer for SAML 2.0 LogoutRequest components
-
Method Summary
Modifier and TypeMethodDescriptionand()Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0.logoutRequestRepository(Saml2LogoutRequestRepository logoutRequestRepository) Use thisSaml2LogoutRequestRepositoryfor storing logout requestslogoutRequestResolver(Saml2LogoutRequestResolver logoutRequestResolver) Use thisSaml2LogoutRequestResolverfor producing a logout request to send to the asserting partylogoutRequestValidator(Saml2LogoutRequestValidator authenticator) Use thisLogoutHandlerfor processing a logout request from the asserting partyThe URL by which the asserting party can send a SAML 2.0 Logout Request
-
Method Details
-
logoutUrl
The URL by which the asserting party can send a SAML 2.0 Logout RequestThe Asserting Party should use whatever HTTP method specified in
RelyingPartyRegistration.getSingleLogoutServiceBindings().- Parameters:
logoutUrl- the URL that will receive the SAML 2.0 Logout Request- Returns:
- the
Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>>.LogoutRequestConfigurerfor further customizations - See Also:
-
logoutRequestValidator
public Saml2LogoutConfigurer<H>.LogoutRequestConfigurer logoutRequestValidator(Saml2LogoutRequestValidator authenticator) Use thisLogoutHandlerfor processing a logout request from the asserting party- Parameters:
authenticator- theSaml2LogoutRequestValidatorto use- Returns:
- the
Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>>.LogoutRequestConfigurerfor further customizations
-
logoutRequestResolver
public Saml2LogoutConfigurer<H>.LogoutRequestConfigurer logoutRequestResolver(Saml2LogoutRequestResolver logoutRequestResolver) Use thisSaml2LogoutRequestResolverfor producing a logout request to send to the asserting party- Parameters:
logoutRequestResolver- theSaml2LogoutRequestResolverto use- Returns:
- the
Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>>.LogoutRequestConfigurerfor further customizations
-
logoutRequestRepository
public Saml2LogoutConfigurer<H>.LogoutRequestConfigurer logoutRequestRepository(Saml2LogoutRequestRepository logoutRequestRepository) Use thisSaml2LogoutRequestRepositoryfor storing logout requests- Parameters:
logoutRequestRepository- theSaml2LogoutRequestRepositoryto use- Returns:
- the
Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>>.LogoutRequestConfigurerfor further customizations
-
and
Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0. UseSaml2LogoutConfigurer.logoutRequest(Customizer)orlogoutRequest(Customizer.withDefaults())to stick with defaults. See the documentation for more details.
-