Class OpenSamlRelyingPartyRegistration
java.lang.Object
org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
org.springframework.security.saml2.provider.service.registration.OpenSamlRelyingPartyRegistration
- All Implemented Interfaces:
Serializable
Deprecated.
An OpenSAML implementation of
RelyingPartyRegistration that contains OpenSAML
objects like EntityDescriptor.- Since:
- 6.1
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.An OpenSAML version ofRelyingPartyRegistration.AssertingPartyDetails.Builderthat contains the underlyingEntityDescriptorNested classes/interfaces inherited from class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
RelyingPartyRegistration.AssertingPartyDetails -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the configuration details for the Asserting Partymutate()Deprecated.Copy the properties in thisRelyingPartyRegistrationinto aRelyingPartyRegistration.BuilderwithAssertingPartyEntityDescriptor(org.opensaml.saml.saml2.metadata.EntityDescriptor entityDescriptor) Deprecated.Create aOpenSamlRelyingPartyRegistration.Builderfrom an entity descriptorMethods inherited from class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
getAssertingPartyMetadata, getAssertionConsumerServiceBinding, getAssertionConsumerServiceLocation, getDecryptionX509Credentials, getEntityId, getNameIdFormat, getRegistrationId, getSigningX509Credentials, getSingleLogoutServiceBinding, getSingleLogoutServiceBindings, getSingleLogoutServiceLocation, getSingleLogoutServiceResponseLocation, isAuthnRequestsSigned, withAssertingPartyDetails, withAssertingPartyMetadata, withRegistrationId, withRelyingPartyRegistration
-
Method Details
-
mutate
Deprecated.Copy the properties in thisRelyingPartyRegistrationinto aRelyingPartyRegistration.Builder- Overrides:
mutatein classRelyingPartyRegistration- Returns:
- a
RelyingPartyRegistration.Builderbased off of the properties in thisRelyingPartyRegistration
-
getAssertingPartyDetails
Deprecated.Get the configuration details for the Asserting Party- Overrides:
getAssertingPartyDetailsin classRelyingPartyRegistration- Returns:
- the
RelyingPartyRegistration.AssertingPartyDetails
-
withAssertingPartyEntityDescriptor
public static OpenSamlRelyingPartyRegistration.Builder withAssertingPartyEntityDescriptor(org.opensaml.saml.saml2.metadata.EntityDescriptor entityDescriptor) Deprecated.Create aOpenSamlRelyingPartyRegistration.Builderfrom an entity descriptor- Parameters:
entityDescriptor- the asserting party'sEntityDescriptor- Returns:
- an
OpenSamlRelyingPartyRegistration.Builder
-
EntityDescriptortoOpenSamlAssertingPartyDetails. Instead of doing:if (registration instanceof OpenSamlRelyingPartyRegistration openSamlRegistration) { EntityDescriptor descriptor = openSamlRegistration.getAssertingPartyDetails.getEntityDescriptor(); }do instead:if (registration.getAssertingPartyMetadata() instanceof openSamlAssertingPartyDetails) { EntityDescriptor descriptor = openSamlAssertingPartyDetails.getEntityDescriptor(); }