Class OpenSamlRelyingPartyRegistration

java.lang.Object
org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
org.springframework.security.saml2.provider.service.registration.OpenSamlRelyingPartyRegistration

@Deprecated public final class OpenSamlRelyingPartyRegistration extends RelyingPartyRegistration
Deprecated.
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();
        }
 
An OpenSAML implementation of RelyingPartyRegistration that contains OpenSAML objects like EntityDescriptor.
Since:
6.1