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

B15568-01


oracle.security.xmlsec.saml
Class Evidence

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


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

The SAML Evidence element used in the AuthorizationDecisionStatement contains assertions that the issuer relied on in issuing the authorization decision.


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..
java.util.List getAssertionIDReferences()
Gets the list of assertion IDs.
java.util.List getAssertions()
Gets the list of assertions.

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

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.

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.

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.

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()
Gets the list of assertion IDs.
Returns:
A List containing String objects representing IDs or an empty List if no ID 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.

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

B15568-01


Copyright © 2005 , Oracle. All rights reserved.