Oracle Security Developer Tools SAML Java API Reference
10g Release 2 (10.1.2.0.2)

B15568-01


oracle.security.xmlsec.saml
Class AudienceRestrictionCondition

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml.Condition
              extended byoracle.security.xmlsec.saml.AudienceRestrictionCondition


public class AudienceRestrictionCondition
extends Condition

The SAML AudienceRestrictionCondition element which extends the abstract Condition element specifies that the assertion is addressd to one or more specific audiences identified by the Audience elements.


Field Summary

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

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

Method Summary
void addAudience(java.lang.String uri)
Adds an intended audience.
java.util.List getAudienceRestrictionConditions()
Deprecated. Use getAudiences().
java.util.List getAudiences()
Returns the list of intended audiences.

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

AudienceRestrictionCondition

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

AudienceRestrictionCondition

public AudienceRestrictionCondition(org.w3c.dom.Element element,
                                    java.lang.String SystemId)
                             throws org.w3c.dom.DOMException
Creates a new AudienceRestrictionCondition instance from the given Element node.
Parameters:
element - An AudienceRestrictionCondition element.

AudienceRestrictionCondition

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

Method Detail

addAudience

public void addAudience(java.lang.String uri)
Adds an intended audience.
Parameters:
uri - A URI representing an audience.

getAudiences

public java.util.List getAudiences()
Returns the list of intended audiences.
Returns:
A List containing String objects representing URIs. These URIs define audiences.

getAudienceRestrictionConditions

public java.util.List getAudienceRestrictionConditions()
Deprecated. Use getAudiences().
Returns the list of intended audiences.
Returns:
A List containing String objects representing URIs. These URIs define audiences.

Oracle Security Developer Tools SAML Java API Reference
10g Release 2 (10.1.2.0.2)

B15568-01


Copyright © 2005 , Oracle. All rights reserved.