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 Advice

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


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

Represents additional information that should be considered during the process of validating the assertion.


Field Summary

 

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

 

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

 

Method Summary
 void addAssertion(Assertion assertion)
          Adds an assertion.
 void addAssertionIDReference(java.lang.String id)
          Adds an assertion ID reference which specifies an assertion by reference to the value of assertion's AssertionID attribute.
 void addAssertionURIReference(java.lang.String uri)
          Adds an URI reference to an assertion.
 void addEncryptedAssertion(EncryptedAssertion assertion)
          Adds an encrypted assertion.
 java.util.List getAssertionIDReferences()
          Gets the list of assertion IDs.
 java.util.List getAssertions()
          Gets the list of assertions.
 java.util.List getAssertionURIReferences()
          Gets the list of assertion URI references.
 java.util.List getEncryptedAssertions()
          Gets the list of encrypted assertions.

 

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

Advice

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

Advice

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

Advice

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

Method Detail

addAssertionIDReference

public void addAssertionIDReference(java.lang.String id)
Adds an assertion ID reference which specifies an assertion by reference to the value of assertion's AssertionID attribute.
Parameters:
id - An identifier referencing an assertion.

getAssertionIDReferences

public java.util.List getAssertionIDReferences()
Gets the list of assertion IDs.
Returns:
A List containing String objects representing IDs or an empty List if no ID has been added.

addAssertionURIReference

public void addAssertionURIReference(java.lang.String uri)
Adds an URI reference to an assertion.
Parameters:
uri - A URI reference to an assertion.

getAssertionURIReferences

public java.util.List getAssertionURIReferences()
Gets the list of assertion URI references.
Returns:
A List containing String objects representing URIs or an empty List if no URI has been added.

addAssertion

public void addAssertion(Assertion assertion)
Adds an assertion.
Parameters:
assertion - An assertion involved in the decision of the issuer.

getAssertions

public java.util.List getAssertions()
Gets the list of assertions.
Returns:
A List containing Assertion objects or an empty List if no Assertion has been added.

addEncryptedAssertion

public void addEncryptedAssertion(EncryptedAssertion assertion)
Adds an encrypted assertion.
Parameters:
assertion - An encrypted assertion involved in the decision of the issuer.

getEncryptedAssertions

public java.util.List getEncryptedAssertions()
Gets the list of encrypted assertions.
Returns:
A List containing EncryptedAssertion objects or an empty List if no Request has been added.

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.