Skip navigation links

Oracle Security Developer Tools SAML 2.0 Java API Reference
11g (11.1.1)

E10676-02


oracle.security.xmlsec.saml2.core
Class ProxyRestriction

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


public class ProxyRestriction
extends Condition

Represents a condition which specifies limits that the asserting party imposes on relying parties that wish to issue assertions based on the original assertion.


Field Summary

 

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

 

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

 

Method Summary
 void addAudience(java.lang.String uri)
          Adds an intended audience.
 java.util.List getAudiences()
          Returns the list of intended audiences.
 int getCount()
          Returns the maximum number of indirections permitted by the asserting party.
 void setCount(int count)
          Specify the maximum number of indirections permitted by the asserting party.

 

Methods inherited from class oracle.security.xmlsec.saml2.core.Condition
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

ProxyRestriction

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

ProxyRestriction

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

ProxyRestriction

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

ProxyRestriction

protected ProxyRestriction(org.w3c.dom.Document owner,
                           java.lang.String nsURI,
                           java.lang.String localName)
                    throws org.w3c.dom.DOMException
Creates a new ProxyRestriction instance. For use by classes extending the saml:ProxyRestriction 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

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.

setCount

public void setCount(int count)
Specify the maximum number of indirections permitted by the asserting party.
Parameters:
count - A non-negative integer.

getCount

public int getCount()
Returns the maximum number of indirections permitted by the asserting party.
Returns:
A non-negative integer or 0 if an invalid value is present.

Skip navigation links

Oracle Security Developer Tools SAML 2.0 Java API Reference
11g (11.1.1)

E10676-02


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