org.opensaml.common
public final class SAMLObjectHelper extends Object
Modifier | Constructor and Description |
---|---|
private |
SAMLObjectHelper()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
declareNonVisibleNamespaces(SignableSAMLObject signableObject)
Examines the
SignableSAMLObject for the need to declare non-visible namespaces
before marshalling and signing, and if required, performs the declarations. |
private static org.slf4j.Logger |
getLogger()
Get an SLF4J Logger.
|
public static void declareNonVisibleNamespaces(SignableSAMLObject signableObject)
SignableSAMLObject
for 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 SAMLObjectContentReference
with a transform of either
SignatureConstants.TRANSFORM_C14N_EXCL_OMIT_COMMENTS
or SignatureConstants.TRANSFORM_C14N_EXCL_WITH_COMMENTS
,
it declares on the object all non-visible namespaces
as determined by NamespaceManager.getNonVisibleNamespaces()
.
signableObject
- the signable SAML object to evaluateprivate static org.slf4j.Logger getLogger()
Copyright © 1999-2013 JBoss by Red Hat. All Rights Reserved.