public abstract class AbstractSignableSAMLObject extends org.opensaml.xml.AbstractValidatingSignableXMLObject implements SignableSAMLObject
SignableXMLObject
.Modifier | Constructor and Description |
---|---|
protected |
AbstractSignableSAMLObject(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected org.joda.time.DateTime |
prepareForAssignment(org.joda.time.DateTime oldValue,
org.joda.time.DateTime newValue)
A helper function for derived classes that checks to see if the old and new value are equal and if so releases
the cached dom.
|
void |
setSignature(org.opensaml.xml.signature.Signature newSignature)
When a signature is added, a default content reference that uses the ID of this object will be
created and added to the signature at the time of signing.
|
deregisterValidator, getValidators, registerValidator, validate, validateChildren
getSignature, isSigned
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSignatureReferenceID
getSignature, isSigned
deregisterValidator, getValidators, registerValidator, validate
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
protected AbstractSignableSAMLObject(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespacepublic void setSignature(org.opensaml.xml.signature.Signature newSignature)
SAMLObjectContentReference
for the default digest algorithm and transforms that will be used. These default values may be
changed prior to marshalling this object.setSignature
in interface org.opensaml.xml.signature.SignableXMLObject
setSignature
in class org.opensaml.xml.signature.AbstractSignableXMLObject
protected org.joda.time.DateTime prepareForAssignment(org.joda.time.DateTime oldValue, org.joda.time.DateTime newValue)
this.foo = prepareForAssignment(this.foo, foo);
This method will do a (null) safe compare of the objects and will also invalidate the DOM if appropriateoldValue
- - current valuenewValue
- - proposed new valueCopyright © 1999-2013. All Rights Reserved.