Skip navigation links
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder.assertingPartyDetails(Consumer<RelyingPartyRegistration.AssertingPartyDetails.Builder>)
    Use RelyingPartyRegistration.Builder.assertingPartyMetadata(java.util.function.Consumer<org.springframework.security.saml2.provider.service.registration.AssertingPartyMetadata.Builder<?>>) instead
    org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.withAssertingPartyDetails(RelyingPartyRegistration.AssertingPartyDetails)
    Use RelyingPartyRegistration.withAssertingPartyMetadata(org.springframework.security.saml2.provider.service.registration.AssertingPartyMetadata) instead
    org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.withRelyingPartyRegistration(RelyingPartyRegistration)
    Use RelyingPartyRegistration.mutate() instead
  • Deprecated Classes
    Class
    Description
    org.springframework.security.saml2.provider.service.authentication.logout.OpenSamlLogoutRequestValidator
    Please use the version-specific Saml2LogoutRequestValidator such as OpenSaml4LogoutRequestValidator
    org.springframework.security.saml2.provider.service.authentication.logout.OpenSamlLogoutResponseValidator
    Please use the version-specific Saml2LogoutResponseValidator instead such as OpenSaml4LogoutResponseValidator
    org.springframework.security.saml2.provider.service.metadata.OpenSamlMetadataResolver
    Please use version-specific Saml2MetadataResolver instead, for example OpenSaml4MetadataResolver
    org.springframework.security.saml2.provider.service.metadata.RequestMatcherMetadataResponseResolver
    Please use RequestMatcherMetadataResponseResolver
    org.springframework.security.saml2.provider.service.registration.OpenSamlRelyingPartyRegistration
    This class no longer is needed in order to transmit the EntityDescriptor to OpenSamlAssertingPartyDetails. Instead of doing:
            if (registration instanceof OpenSamlRelyingPartyRegistration openSamlRegistration) {
                EntityDescriptor descriptor = openSamlRegistration.getAssertingPartyDetails.getEntityDescriptor();
            }
     
    do instead:
            if (registration.getAssertingPartyMetadata() instanceof openSamlAssertingPartyDetails) {
                EntityDescriptor descriptor = openSamlAssertingPartyDetails.getEntityDescriptor();
            }
     
    org.springframework.security.saml2.provider.service.web.authentication.logout.OpenSamlLogoutRequestValidatorParametersResolver
    Please use a version-specific Saml2LogoutRequestValidatorParametersResolver such as OpenSaml4LogoutRequestValidatorParametersResolver
    org.springframework.security.saml2.provider.service.web.OpenSamlAuthenticationTokenConverter
    Please use a version-specific SAML 2.0 AuthenticationConverter instead such as OpenSaml4AuthenticationTokenConverter
  • Deprecated Methods
    Method
    Description
    org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider.createDefaultAssertionValidator(Converter<OpenSaml4AuthenticationProvider.AssertionToken, ValidationContext>)
    Use OpenSaml4AuthenticationProvider.createDefaultAssertionValidatorWithParameters(java.util.function.Consumer<java.util.Map<java.lang.String, java.lang.Object>>) instead
    org.springframework.security.saml2.provider.service.authentication.OpenSaml5AuthenticationProvider.createDefaultAssertionValidator(Converter<OpenSaml5AuthenticationProvider.AssertionToken, ValidationContext>)
    Use OpenSaml5AuthenticationProvider.createDefaultAssertionValidatorWithParameters(java.util.function.Consumer<java.util.Map<java.lang.String, java.lang.Object>>) instead
    org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder.assertingPartyDetails(Consumer<RelyingPartyRegistration.AssertingPartyDetails.Builder>)
    Use RelyingPartyRegistration.Builder.assertingPartyMetadata(java.util.function.Consumer<org.springframework.security.saml2.provider.service.registration.AssertingPartyMetadata.Builder<?>>) instead
    org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.getAssertingPartyDetails()
    Use RelyingPartyRegistration.getAssertingPartyMetadata() instead
    org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.withAssertingPartyDetails(RelyingPartyRegistration.AssertingPartyDetails)
    Use RelyingPartyRegistration.withAssertingPartyMetadata(org.springframework.security.saml2.provider.service.registration.AssertingPartyMetadata) instead
    org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.withRelyingPartyRegistration(RelyingPartyRegistration)
    Use RelyingPartyRegistration.mutate() instead
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest.Builder()
    Use Builder(RelyingPartyRegistration) instead