Class Saml2LogoutConfigurer.LogoutResponseConfigurer
java.lang.Object
org.springframework.security.config.annotation.web.configurers.saml2.Saml2LogoutConfigurer.LogoutResponseConfigurer
- Enclosing class:
- Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>>
-
Method Summary
Modifier and TypeMethodDescriptionlogoutResponseResolver(Saml2LogoutResponseResolver logoutResponseResolver) Use thisSaml2LogoutRequestResolverfor producing a logout response to send to the asserting partylogoutResponseValidator(Saml2LogoutResponseValidator authenticator) Use thisLogoutHandlerfor processing a logout response from the asserting partyThe URL by which the asserting party can send a SAML 2.0 Logout Response
-
Method Details
-
logoutUrl
The URL by which the asserting party can send a SAML 2.0 Logout ResponseThe Asserting Party should use whatever HTTP method specified in
RelyingPartyRegistration.getSingleLogoutServiceBindings().- Parameters:
logoutUrl- the URL that will receive the SAML 2.0 Logout Response- Returns:
- the
Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>>.LogoutResponseConfigurerfor further customizations - See Also:
-
logoutResponseValidator
public Saml2LogoutConfigurer<H>.LogoutResponseConfigurer logoutResponseValidator(Saml2LogoutResponseValidator authenticator) Use thisLogoutHandlerfor processing a logout response from the asserting party- Parameters:
authenticator- theAuthenticationManagerto use- Returns:
- the
Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>>.LogoutRequestConfigurerfor further customizations
-
logoutResponseResolver
public Saml2LogoutConfigurer<H>.LogoutResponseConfigurer logoutResponseResolver(Saml2LogoutResponseResolver logoutResponseResolver) Use thisSaml2LogoutRequestResolverfor producing a logout response to send to the asserting party- Parameters:
logoutResponseResolver- theSaml2LogoutResponseResolverto use- Returns:
- the
Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>>.LogoutRequestConfigurerfor further customizations
-