|
Oracle Security Developer Tools SAML 2.0 Java API Reference 11g (11.1.1) E10676-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.saml2.core.SubjectConfirmationData
public class SubjectConfirmationData
Represents information that allows the subject of the assertion to be confirmed.
Field Summary |
---|
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
SubjectConfirmationData(org.w3c.dom.Document owner) Creates a new SubjectConfirmationData instance. |
|
SubjectConfirmationData(org.w3c.dom.Element element) Creates a new SubjectConfirmationData instance from the given Element node. |
|
SubjectConfirmationData(org.w3c.dom.Element element, java.lang.String systemId) Creates a new SubjectConfirmationData instance from the given Element node. |
Method Summary | |
---|---|
java.lang.String |
getAddress() Returns the network address/location from which an entity can present the assertion. |
java.lang.String |
getAttributeNS(java.lang.String namespaceURI, java.lang.String localName) Retrieves an attribute value by local name and namespace URI. |
java.util.List |
getConfirmationData() Returns the ConfirmationData pertaining to the subject. |
java.lang.String |
getInResponseTo() Returns the identifier of the SAML protocol message in response to which an entity can present the assertion. |
java.util.List |
getKeyInfoConfirmationData() Returns the specified KeyInfoConfirmationData. |
java.util.Date |
getNotBefore() Returns the time instant before which the subject can not be confirmed. |
java.util.Date |
getNotOnOrAfter() Returns the time instant on or after which the subject can not be confirmed. |
java.lang.String |
getRecipient() Returns the URI to which an entity can present the assertion. |
void |
setAddress(java.lang.String address) Specify the network address/location from which an entity can present the assertion. |
void |
setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value) Specify an arbitrary attribute. |
void |
setConfirmationData(java.util.List elements) Set the ConfirmationData pertaining to the subject. |
void |
setInResponseTo(java.lang.String inResponseTo) Sets the identifier of the SAML protocol message in response to which an entity can present the assertion. |
void |
setKeyInfoConfirmationData(java.util.List keyInfos) Set the KeyInfoConfirmationData, which specifies a cryptographic key(s) held by the subject. |
void |
setNotBefore(java.util.Date notBefore) Sets the time instant before which the subject can not be confirmed. |
void |
setNotOnOrAfter(java.util.Date notOnOrAfter) Sets the time instant on or after which the subject can not be confirmed. |
void |
setRecipient(java.lang.String recipient) Sets the URI to which an entity can present the assertion. |
Methods inherited from class oracle.security.xmlsec.util.XMLElement |
---|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setDefaultNSPrefix |
Methods inherited from class oracle.security.xmlsec.util.XMLNode |
---|
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubjectConfirmationData(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
SubjectConfirmationData
instance from the given Element node.
element
- A SubjectConfirmationData element.org.w3c.dom.DOMException
public SubjectConfirmationData(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
SubjectConfirmationData
instance from the given Element node.
element
- A SubjectConfirmationData element.systemId
- The URI string system ID for the SubjectConfirmationData
.org.w3c.dom.DOMException
public SubjectConfirmationData(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
SubjectConfirmationData
instance.
owner
- The owner document of the new SubjectConfirmationData.org.w3c.dom.DOMException
Method Detail |
---|
public void setNotBefore(java.util.Date notBefore)
notBefore
- The specified time.public java.util.Date getNotBefore()
null
if not specified.public void setNotOnOrAfter(java.util.Date notOnOrAfter)
notOnOrAfter
- The specified time.public java.util.Date getNotOnOrAfter()
null
if not specified.public void setRecipient(java.lang.String recipient)
recipient
- A URI specifying an entity or a location.public java.lang.String getRecipient()
public void setInResponseTo(java.lang.String inResponseTo)
inResponseTo
- An "ID" attribute value.public java.lang.String getInResponseTo()
public void setAddress(java.lang.String address)
address
- A String containing an IP address or other types of location information.public java.lang.String getAddress()
public void setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value)
setAttributeNS
in class oracle.security.xmlsec.util.XMLElement
namespaceURI
- The namespace URI of the attribute.qualifiedName
- The qualified name of the attribute.value
- The attribute value to set.public java.lang.String getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
getAttributeNS
in class oracle.security.xmlsec.util.XMLElement
namespaceURI
- The namespace URI of the attribute.localName
- The local name of the attribute.public void setConfirmationData(java.util.List elements)
Any existing SubjectConfirmationData will be erased. Note that you SHOULD consider setting the xsi:type if this is a derived type.
elements
- A List of ConfirmationData Element
objects.public java.util.List getConfirmationData()
org.w3c.dom.Element
objects or null
if the confirmation data is emptypublic void setKeyInfoConfirmationData(java.util.List keyInfos)
Any existing SubjectConfirmationData will be erased. This method will set the xsi:type attribute.
keyInfos
- A List of XSKeyInfo
objects containing the information of a key.public java.util.List getKeyInfoConfirmationData()
XSKeyInfo
objects or null
if the xsi:type is not set correctly or if the confirmation data is empty
|
Oracle Security Developer Tools SAML 2.0 Java API Reference 11g (11.1.1) E10676-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |