Class Saml2LogoutConfigurer.LogoutRequestConfigurer
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configurers.saml2.Saml2LogoutConfigurer.LogoutRequestConfigurer
-
- Enclosing class:
- Saml2LogoutConfigurer<H extends HttpSecurityBuilder<H>>
public final class Saml2LogoutConfigurer.LogoutRequestConfigurer extends java.lang.ObjectA configurer for SAML 2.0 LogoutRequest components
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Saml2LogoutConfigurer<H>and()Saml2LogoutConfigurer.LogoutRequestConfigurerlogoutRequestRepository(org.springframework.security.saml2.provider.service.web.authentication.logout.Saml2LogoutRequestRepository logoutRequestRepository)Use thisSaml2LogoutRequestRepositoryfor storing logout requestsSaml2LogoutConfigurer.LogoutRequestConfigurerlogoutRequestResolver(org.springframework.security.saml2.provider.service.web.authentication.logout.Saml2LogoutRequestResolver logoutRequestResolver)Use thisSaml2LogoutRequestResolverfor producing a logout request to send to the asserting partySaml2LogoutConfigurer.LogoutRequestConfigurerlogoutRequestValidator(org.springframework.security.saml2.provider.service.authentication.logout.Saml2LogoutRequestValidator authenticator)Use thisLogoutHandlerfor processing a logout request from the asserting partySaml2LogoutConfigurer.LogoutRequestConfigurerlogoutUrl(java.lang.String logoutUrl)The URL by which the asserting party can send a SAML 2.0 Logout Request
-
-
-
Method Detail
-
logoutUrl
public Saml2LogoutConfigurer.LogoutRequestConfigurer logoutUrl(java.lang.String 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.LogoutRequestConfigurerfor further customizations - See Also:
Saml2LogoutConfigurer.logoutUrl(String)
-
logoutRequestValidator
public Saml2LogoutConfigurer.LogoutRequestConfigurer logoutRequestValidator(org.springframework.security.saml2.provider.service.authentication.logout.Saml2LogoutRequestValidator authenticator)
Use thisLogoutHandlerfor processing a logout request from the asserting party- Parameters:
authenticator- theSaml2LogoutRequestValidatorto use- Returns:
- the
Saml2LogoutConfigurer.LogoutRequestConfigurerfor further customizations
-
logoutRequestResolver
public Saml2LogoutConfigurer.LogoutRequestConfigurer logoutRequestResolver(org.springframework.security.saml2.provider.service.web.authentication.logout.Saml2LogoutRequestResolver logoutRequestResolver)
Use thisSaml2LogoutRequestResolverfor producing a logout request to send to the asserting party- Parameters:
logoutRequestResolver- theSaml2LogoutRequestResolverto use- Returns:
- the
Saml2LogoutConfigurer.LogoutRequestConfigurerfor further customizations
-
logoutRequestRepository
public Saml2LogoutConfigurer.LogoutRequestConfigurer logoutRequestRepository(org.springframework.security.saml2.provider.service.web.authentication.logout.Saml2LogoutRequestRepository logoutRequestRepository)
Use thisSaml2LogoutRequestRepositoryfor storing logout requests- Parameters:
logoutRequestRepository- theSaml2LogoutRequestRepositoryto use- Returns:
- the
Saml2LogoutConfigurer.LogoutRequestConfigurerfor further customizations
-
and
public Saml2LogoutConfigurer<H> and()
-
-