Package org.opensaml.saml.common
Class SAMLObjectSupport
java.lang.Object
org.opensaml.saml.common.SAMLObjectSupport
A helper class for working with SAMLObjects.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeclareNonVisibleNamespaces(SignableSAMLObject signableObject) Examines theSignableSAMLObjectfor the need to declare non-visible namespaces before marshalling and signing, and if required, performs the declarations.
-
Field Details
-
LOG
@Nonnull private static final org.slf4j.Logger LOGLogger.
-
-
Constructor Details
-
SAMLObjectSupport
private SAMLObjectSupport()Constructor.
-
-
Method Details
-
declareNonVisibleNamespaces
Examines theSignableSAMLObjectfor the need to declare non-visible namespaces before marshalling and signing, and if required, performs the declarations.If the object does not already have a cached DOM, does have a signature attached, and the signature contains a
SAMLObjectContentReferencewith a transform of eitherSignatureConstants.TRANSFORM_C14N_EXCL_OMIT_COMMENTSorSignatureConstants.TRANSFORM_C14N_EXCL_WITH_COMMENTS, it declares on the object all non-visible namespaces as determined byNamespaceManager.getNonVisibleNamespaces().- Parameters:
signableObject- the signable SAML object to evaluate
-