Skip navigation links

Oracle Security Developer Tools SAML 1.0/1.1 Java API Reference
11g (11.1.1)

E10675-02


oracle.security.xmlsec.saml
Class Subject

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml.Subject


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

A class representing the Subject element which specifies the principal of a statement.


Field Summary

 

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

 

Constructor Summary
Subject(org.w3c.dom.Document owner)
          Creates a new Subject instance.
Subject(org.w3c.dom.Element element)
          Creates a new Subject instance from the given Element node.
Subject(org.w3c.dom.Element element, java.lang.String SystemId)
          Creates a new Subject instance from the given Element node.

 

Method Summary
 NameIdentifier getNameIdentifier()
          Gets the NameIdentifier element from this Subject element.
 SubjectConfirmation getSubjectConfirmation()
          Gets the SubjectConfirmation element from this Subject element.
 void setNameIdentifier(NameIdentifier nameIdentifier)
          Sets the NameIdentifier element of this Subject element.
 void setSubjectConfirmation(SubjectConfirmation subjectConfirmation)
          Sets the SubjectConfirmation element of this Subject element.

 

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

Subject

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

Subject

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

Subject

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

Method Detail

setNameIdentifier

public void setNameIdentifier(NameIdentifier nameIdentifier)
Sets the NameIdentifier element of this Subject element.
Parameters:
nameIdentifier - A NameIdentifier object that identifies the subject by its name and security domain.

getNameIdentifier

public NameIdentifier getNameIdentifier()
Gets the NameIdentifier element from this Subject element.
Returns:
A NameIdentifier object or null if none has been set.

setSubjectConfirmation

public void setSubjectConfirmation(SubjectConfirmation subjectConfirmation)
Sets the SubjectConfirmation element of this Subject element.
Parameters:
subjectConfirmation - A SubjectConfirmation object that allows the authentication of the subject.

getSubjectConfirmation

public SubjectConfirmation getSubjectConfirmation()
Gets the SubjectConfirmation element from this Subject element.
Returns:
A SubjectConfirmation object or null if none has been set.

Skip navigation links

Oracle Security Developer Tools SAML 1.0/1.1 Java API Reference
11g (11.1.1)

E10675-02


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