Skip navigation links

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

E10676-05


oracle.security.xmlsec.saml2.core
Class AttributeStatement

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


public class AttributeStatement
extends Statement

Represents information about the attributes associated with the specified subject.


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.
protected AttributeStatement(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          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 a attribute.
 void addSAMLEncryptedAttribute(EncryptedAttribute attribute)
          Adds a encrypted attribute.
 java.util.List getAllAttributes()
          Gets the set of encrypted and unencrypted attributes.
 java.util.List getSAMLAttributes()
          Gets the set of unencrypted attributes.
 java.util.List getSAMLEncryptedAttributes()
          Gets the set of encrypted attributes.

 

Methods inherited from class oracle.security.xmlsec.saml2.core.Statement
getXsiType, setXsiType

 

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

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.
Throws:
org.w3c.dom.DOMException

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.
Throws:
org.w3c.dom.DOMException

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.
Throws:
org.w3c.dom.DOMException

AttributeStatement

protected AttributeStatement(org.w3c.dom.Document owner,
                             java.lang.String nsURI,
                             java.lang.String localName)
                      throws org.w3c.dom.DOMException
Creates a new AttributeStatement instance. For use by classes extending the saml:AttributeStatement element.
Parameters:
owner - The owner document of the new element.
nsURI - The namespace in which the new element is to be created.
localName - The localName of the element.
Throws:
org.w3c.dom.DOMException

Method Detail

addSAMLAttribute

public void addSAMLAttribute(Attribute attribute)
Adds a attribute.
Parameters:
attribute - An Extension object.

addSAMLEncryptedAttribute

public void addSAMLEncryptedAttribute(EncryptedAttribute attribute)
Adds a encrypted attribute.
Parameters:
attribute - An EncryptedAttribute object.

getSAMLAttributes

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

getSAMLEncryptedAttributes

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

getAllAttributes

public java.util.List getAllAttributes()
Gets the set of encrypted and unencrypted attributes.
Returns:
A List containing Extension and EncryptedAttribute objects or an empty List if none were added.

Skip navigation links

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

E10676-05


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