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 Evidence

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


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

Represents information that the issuer relied upon in issuing the authorization decision assertion.


Field Summary

 

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

 

Constructor Summary
Evidence(org.w3c.dom.Document owner)
          Creates a new Evidence instance.
Evidence(org.w3c.dom.Element element)
          Creates a new Evidence instance from the given Element node.
Evidence(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new Evidence 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()
          Returns the list of assertion IDs.
 java.util.List getAssertions()
          Returns the list of assertions.
 java.util.List getAssertionURIReferences()
          Returns 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

Evidence

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

Evidence

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

Evidence

public Evidence(org.w3c.dom.Document owner)
         throws org.w3c.dom.DOMException
Creates a new Evidence instance.
Parameters:
owner - The owner document of the new Evidence.
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 ID referencing an assertion involved in the decision of the issuer.

getAssertionIDReferences

public java.util.List getAssertionIDReferences()
Returns 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 involved in the decision of the issuer.

getAssertionURIReferences

public java.util.List getAssertionURIReferences()
Returns 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()
Returns 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 EncryptedAssertion 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.