org.opensaml.common
Class SAMLObjectHelper

java.lang.Object
  extended by org.opensaml.common.SAMLObjectHelper

public final class SAMLObjectHelper
extends Object

A helper class for working with SAMLObjects.


Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

declareNonVisibleNamespaces

public 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.

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().

Parameters:
signableObject - the signable SAML object to evaluate


Copyright © 2006-2013 Internet2. All Rights Reserved.