Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-04


oracle.security.xmlsec.saml2.core
Class SubjectConfirmation

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.core.SubjectConfirmation


public class SubjectConfirmation
extends oracle.security.xmlsec.util.XMLElement

Represents the means for a Relying Party to verify the correspondence of the subject of the assertion with the party presenting the assertion.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
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.

 

Method Summary
 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.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
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

 

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

SubjectConfirmation

public SubjectConfirmation(org.w3c.dom.Element element)
                    throws org.w3c.dom.DOMException
Creates a new SubjectConfirmation instance from the given Element node.
Parameters:
element - A SubjectConfirmation element.
Throws:
org.w3c.dom.DOMException

SubjectConfirmation

public SubjectConfirmation(org.w3c.dom.Element element,
                           java.lang.String systemId)
                    throws org.w3c.dom.DOMException
Creates a new SubjectConfirmation instance from the given Element node.
Parameters:
element - A SubjectConfirmation element.
systemId - The URI string system ID for the SubjectConfirmation.
Throws:
org.w3c.dom.DOMException

SubjectConfirmation

public SubjectConfirmation(org.w3c.dom.Document owner)
                    throws org.w3c.dom.DOMException
Creates a new SubjectConfirmation instance.
Parameters:
owner - The owner document of the new SubjectConfirmation.
Throws:
org.w3c.dom.DOMException

Method Detail

setNameIdentifier

public void setNameIdentifier(SAML2NameIdentifier nameID)
Set the Identity of the entity that can satisfy the confirmation requirements.
Parameters:
nameID - The name identifier of the confirming entity.

getNameIdentifier

public SAML2NameIdentifier getNameIdentifier()
                                      throws org.w3c.dom.DOMException
Sets the Identity of the entity that can satisfy the confirmation requirements.
Returns:
The name identifier of the confirming entity or null if not specified.
Throws:
org.w3c.dom.DOMException

setMethod

public void setMethod(java.lang.String confirmationMethod)
Sets the method used to confirm the subject of the assertion.
Parameters:
confirmationMethod - A URI reference that identifies the protocol or mechanism used to confirm the subject.

getMethod

public java.lang.String getMethod()
Gets the method used to confirm the subject of the assertion.
Returns:
A URI reference that identifies the confirmation method or null if none has been set.

setSubjectConfirmationData

public void setSubjectConfirmationData(SubjectConfirmationData scd)
Sets the SubjectConfirmationData element which contains additional authentication information to be used by a specific authentication protocol.
Parameters:
scd - Information used by a specific authentication protocol.

getSubjectConfirmationData

public SubjectConfirmationData getSubjectConfirmationData()
Returns the additional information authentication information specified in the SubjectConfirmationData element or null if this element is not specified.
Returns:
The SubjectConfirmationData or null if not specified.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-04


Copyright © 2005, 2011 , Oracle. All rights reserved.