Class OpenSamlMetadataResolver
java.lang.Object
org.springframework.security.saml2.provider.service.metadata.OpenSamlMetadataResolver
- All Implemented Interfaces:
Saml2MetadataResolver
@Deprecated
public final class OpenSamlMetadataResolver
extends Object
implements Saml2MetadataResolver
Deprecated.
Resolves the SAML 2.0 Relying Party Metadata for a given
RelyingPartyRegistration using the OpenSAML API.- Since:
- 5.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.A tuple containing an OpenSAMLEntityDescriptorand its associatedRelyingPartyRegistration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(Iterable<RelyingPartyRegistration> relyingPartyRegistrations) Deprecated.resolve(RelyingPartyRegistration relyingPartyRegistration) Deprecated.Resolve the given relying party's metadatavoidsetEntityDescriptorCustomizer(Consumer<OpenSamlMetadataResolver.EntityDescriptorParameters> entityDescriptorCustomizer) Deprecated.Set aConsumerfor modifying the OpenSAMLEntityDescriptorvoidsetSignMetadata(boolean signMetadata) Deprecated.Configure whether to sign the metadata, defaults tofalse.voidsetUsePrettyPrint(boolean usePrettyPrint) Deprecated.Configure whether to pretty-print the metadata XML.
-
Constructor Details
-
OpenSamlMetadataResolver
public OpenSamlMetadataResolver()Deprecated.
-
-
Method Details
-
resolve
Deprecated.Description copied from interface:Saml2MetadataResolverResolve the given relying party's metadata- Specified by:
resolvein interfaceSaml2MetadataResolver- Parameters:
relyingPartyRegistration- the relying party- Returns:
- the relying party's metadata
-
resolve
Deprecated.- Specified by:
resolvein interfaceSaml2MetadataResolver
-
setEntityDescriptorCustomizer
public void setEntityDescriptorCustomizer(Consumer<OpenSamlMetadataResolver.EntityDescriptorParameters> entityDescriptorCustomizer) Deprecated.Set aConsumerfor modifying the OpenSAMLEntityDescriptor- Parameters:
entityDescriptorCustomizer- a consumer that accepts anOpenSamlMetadataResolver.EntityDescriptorParameters- Since:
- 5.7
-
setUsePrettyPrint
public void setUsePrettyPrint(boolean usePrettyPrint) Deprecated.Configure whether to pretty-print the metadata XML. This can be helpful when signing the metadata payload.- Since:
- 6.2
-
setSignMetadata
public void setSignMetadata(boolean signMetadata) Deprecated.Configure whether to sign the metadata, defaults tofalse.- Since:
- 6.4
-
Saml2MetadataResolverinstead, for exampleOpenSaml4MetadataResolver