Oracle Security Developer Tools SAML 1.0/1.1 Java API Reference
10g (10.1.4.0.1)

B28173-01


oracle.security.xmlsec.saml
Class AttributeStatement

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml.Statement
              extended byoracle.security.xmlsec.saml.SubjectStatement
                  extended byoracle.security.xmlsec.saml.AttributeStatement


public class AttributeStatement
extends SubjectStatement

Element stating that the specified subject is associated with the specified attributes.


Field Summary

 

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

 

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

 

Method Summary
 void addSAMLAttribute(Attribute attribute)
          Adds an subject attribute.
 java.util.List getSAMLAttributes()
          Gets the set of subject attributes.

 

Methods inherited from class oracle.security.xmlsec.saml.SubjectStatement
getSubject, setSubject

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, 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

AttributeStatement

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

AttributeStatement

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

AttributeStatement

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

Method Detail

addSAMLAttribute

public void addSAMLAttribute(Attribute attribute)
Adds an subject attribute.
Parameters:
attribute - An Attribute object.

getSAMLAttributes

public java.util.List getSAMLAttributes()
Gets the set of subject attributes.
Returns:
A List containing Attribute objects or an empty List if no attribute were added.

Oracle Security Developer Tools SAML 1.0/1.1 Java API Reference
10g (10.1.4.0.1)

B28173-01


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