Class SubjectConfirmationDataImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.SubjectConfirmationDataImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject,ElementExtensibleXMLObject,XMLObject,SAMLObject,SubjectConfirmationData
- Direct Known Subclasses:
KeyInfoConfirmationDataTypeImpl
public class SubjectConfirmationDataImpl
extends AbstractXMLObject
implements SubjectConfirmationData
Concrete implementation of
SubjectConfirmationData.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringAddress of the Confirmation Data.private StringInResponseTo of the Confirmation Data.private InstantNotBefore of the Confirmation Data.private InstantNotOnOrAfter of the Confirmation Data.private StringRecipient of the Confirmation Data.private final AttributeMap"anyAttribute" attributes.private final IndexedXMLObjectChildrenList<XMLObject>"any" children.Fields inherited from interface org.opensaml.saml.saml2.core.SubjectConfirmationData
ADDRESS_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, IN_RESPONSE_TO_ATTRIB_NAME, NOT_BEFORE_ATTRIB_NAME, NOT_BEFORE_ATTRIB_QNAME, NOT_ON_OR_AFTER_ATTRIB_NAME, NOT_ON_OR_AFTER_ATTRIB_QNAME, RECIPIENT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSubjectConfirmationDataImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the IP address to which this information may be pressented.Gets the message ID this is in response to.Gets the time before which this subject is not valid.Gets the time at, or after, which this subject is not valid.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the recipient of this subject.Gets a mutable map of the attributes.Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.getUnknownXMLObjects(QName typeOrName) Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.voidsetAddress(String newAddress) Sets the IP address to which this information may be pressented.voidsetInResponseTo(String newInResponseTo) Sets the message ID this is in response to.voidsetNotBefore(Instant newNotBefore) Sets the time before which this subject is not valid.voidsetNotOnOrAfter(Instant newNotOnOrAfter) Sets the time at, or after, which this subject is not valid.voidsetRecipient(String newRecipient) Sets the recipient of this subject.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
notBefore
NotBefore of the Confirmation Data. -
notOnOrAfter
NotOnOrAfter of the Confirmation Data. -
recipient
Recipient of the Confirmation Data. -
inResponseTo
InResponseTo of the Confirmation Data. -
address
Address of the Confirmation Data. -
unknownAttributes
"anyAttribute" attributes. -
unknownChildren
"any" children.
-
-
Constructor Details
-
SubjectConfirmationDataImpl
protected SubjectConfirmationDataImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Details
-
getNotBefore
Gets the time before which this subject is not valid.- Specified by:
getNotBeforein interfaceSubjectConfirmationData- Returns:
- the time before which this subject is not valid
-
setNotBefore
Sets the time before which this subject is not valid.- Specified by:
setNotBeforein interfaceSubjectConfirmationData- Parameters:
newNotBefore- the time before which this subject is not valid
-
getNotOnOrAfter
Gets the time at, or after, which this subject is not valid.- Specified by:
getNotOnOrAfterin interfaceSubjectConfirmationData- Returns:
- the time at, or after, which this subject is not valid
-
setNotOnOrAfter
Sets the time at, or after, which this subject is not valid.- Specified by:
setNotOnOrAfterin interfaceSubjectConfirmationData- Parameters:
newNotOnOrAfter- the time at, or after, which this subject is not valid
-
getRecipient
Gets the recipient of this subject.- Specified by:
getRecipientin interfaceSubjectConfirmationData- Returns:
- the recipient of this subject
-
setRecipient
Sets the recipient of this subject.- Specified by:
setRecipientin interfaceSubjectConfirmationData- Parameters:
newRecipient- the recipient of this subject
-
getInResponseTo
Gets the message ID this is in response to.- Specified by:
getInResponseToin interfaceSubjectConfirmationData- Returns:
- the message ID this is in response to
-
setInResponseTo
Sets the message ID this is in response to.- Specified by:
setInResponseToin interfaceSubjectConfirmationData- Parameters:
newInResponseTo- the message ID this is in response to
-
getAddress
Gets the IP address to which this information may be pressented.- Specified by:
getAddressin interfaceSubjectConfirmationData- Returns:
- the IP address to which this information may be pressented
-
setAddress
Sets the IP address to which this information may be pressented.- Specified by:
setAddressin interfaceSubjectConfirmationData- Parameters:
newAddress- the IP address to which this information may be pressented
-
getUnknownAttributes
Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject- Returns:
- a map of the attributes
-
getUnknownXMLObjects
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.- Specified by:
getUnknownXMLObjectsin interfaceElementExtensibleXMLObject- Returns:
- list of XMLObjects added to this XMLObject as part of the "any" content model
-
getUnknownXMLObjects
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.- Specified by:
getUnknownXMLObjectsin interfaceElementExtensibleXMLObject- Parameters:
typeOrName- the QName of the statements to return- Returns:
- list of XMLObjects added to this XMLObject as part of the "any" content model TODO: think this should be typed List<? extends XMLObject>
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-