java.lang.Object
com.sun.xml.wss.saml.internal.saml11.jaxb20.EvidenceType
com.sun.xml.wss.saml.assertion.saml11.jaxb20.Evidence
All Implemented Interfaces:
Evidence

public class Evidence extends EvidenceType implements Evidence
The Evidence element specifies an assertion either by reference or by value. An assertion is specified by reference to the value of the assertion's AssertionIDReference element. An assertion is specified by value by including the entire Assertion object
  • Field Details

    • log

      protected static final Logger log
  • Constructor Details

    • Evidence

      public Evidence(List assertionIDRef, List assertion)
      Constructs an Evidence from a Set of Assertion and AssertionIDReference objects.
      Parameters:
      assertionIDRef - Set of AssertionIDReference objects.
      assertion - Set of Assertion objects.
    • Evidence

      public Evidence(EvidenceType eveType)
  • Method Details

    • fromElement

      public static EvidenceType fromElement(Element element) throws SAMLException
      Constructs an Evidence object from a block of existing XML that has already been built into a DOM.
      Parameters:
      element - A org.w3c.dom.Element representing DOM tree for Evidence object.
      Throws:
      SAMLException - if it could not process the Element properly, implying that there is an error in the sender or in the element definition.