public class SubjectConfirmation extends XMLElement
Constructor and Description |
---|
SubjectConfirmation(org.w3c.dom.Document owner)
Creates a new
SubjectConfirmation instance. |
SubjectConfirmation(org.w3c.dom.Element element)
Creates a new
SubjectConfirmation instance from the given Element node. |
SubjectConfirmation(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
SubjectConfirmation instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethod()
Gets the method used to confirm the subject of the assertion.
|
SAML2NameIdentifier |
getNameIdentifier()
Sets the Identity of the entity that can satisfy the confirmation requirements.
|
SubjectConfirmationData |
getSubjectConfirmationData()
Returns the additional information authentication information specified in the SubjectConfirmationData element or null if this element is not specified.
|
void |
setMethod(java.lang.String confirmationMethod)
Sets the method used to confirm the subject of the assertion.
|
void |
setNameIdentifier(SAML2NameIdentifier nameID)
Set the Identity of the entity that can satisfy the confirmation requirements.
|
void |
setSubjectConfirmationData(SubjectConfirmationData scd)
Sets the SubjectConfirmationData element which contains additional authentication information to be used by a specific authentication protocol.
|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix
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
public SubjectConfirmation(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
SubjectConfirmation
instance from the given Element node.element
- A SubjectConfirmation element.org.w3c.dom.DOMException
public SubjectConfirmation(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
SubjectConfirmation
instance from the given Element node.element
- A SubjectConfirmation element.systemId
- The URI string system ID for the SubjectConfirmation
.org.w3c.dom.DOMException
public SubjectConfirmation(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
SubjectConfirmation
instance.owner
- The owner document of the new SubjectConfirmation.org.w3c.dom.DOMException
public void setNameIdentifier(SAML2NameIdentifier nameID)
nameID
- The name identifier of the confirming entity.public SAML2NameIdentifier getNameIdentifier() throws org.w3c.dom.DOMException
null
if not specified.org.w3c.dom.DOMException
public void setMethod(java.lang.String confirmationMethod)
confirmationMethod
- A URI
reference that identifies the protocol or mechanism used to confirm the subject.public java.lang.String getMethod()
null
if none has been set.public void setSubjectConfirmationData(SubjectConfirmationData scd)
scd
- Information used by a specific authentication protocol.public SubjectConfirmationData getSubjectConfirmationData()
SubjectConfirmationData
or null
if not specified.