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 String
Address of the Confirmation Data.private String
InResponseTo of the Confirmation Data.private Instant
NotBefore of the Confirmation Data.private Instant
NotOnOrAfter of the Confirmation Data.private String
Recipient 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
ConstructorsModifierConstructorDescriptionprotected
SubjectConfirmationDataImpl
(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.void
setAddress
(String newAddress) Sets the IP address to which this information may be pressented.void
setInResponseTo
(String newInResponseTo) Sets the message ID this is in response to.void
setNotBefore
(Instant newNotBefore) Sets the time before which this subject is not valid.void
setNotOnOrAfter
(Instant newNotOnOrAfter) Sets the time at, or after, which this subject is not valid.void
setRecipient
(String newRecipient) Sets the recipient of this subject.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, 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, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, 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(String namespaceURI, String elementLocalName, 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:
getNotBefore
in interfaceSubjectConfirmationData
- Returns:
- the time before which this subject is not valid
-
setNotBefore
Sets the time before which this subject is not valid.- Specified by:
setNotBefore
in 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:
getNotOnOrAfter
in 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:
setNotOnOrAfter
in interfaceSubjectConfirmationData
- Parameters:
newNotOnOrAfter
- the time at, or after, which this subject is not valid
-
getRecipient
Gets the recipient of this subject.- Specified by:
getRecipient
in interfaceSubjectConfirmationData
- Returns:
- the recipient of this subject
-
setRecipient
Sets the recipient of this subject.- Specified by:
setRecipient
in interfaceSubjectConfirmationData
- Parameters:
newRecipient
- the recipient of this subject
-
getInResponseTo
Gets the message ID this is in response to.- Specified by:
getInResponseTo
in interfaceSubjectConfirmationData
- Returns:
- the message ID this is in response to
-
setInResponseTo
Sets the message ID this is in response to.- Specified by:
setInResponseTo
in 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:
getAddress
in 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:
setAddress
in 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:
getUnknownAttributes
in 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:
getUnknownXMLObjects
in 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:
getUnknownXMLObjects
in 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:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-