public class Evidence extends EvidenceType implements Evidence
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| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
assertionIDRefOrAssertionURIRefOrAssertion| Constructor and Description |
|---|
Evidence(EvidenceType eveType) |
Evidence(List assertionIDRef,
List assertion)
Constructs an Evidence from a Set of
Assertion and
AssertionIDReference objects. |
| Modifier and Type | Method and Description |
|---|---|
static EvidenceType |
fromElement(Element element)
Constructs an
Evidence object from a block of existing XML
that has already been built into a DOM. |
getAssertionIDRefOrAssertionURIRefOrAssertionprotected static final Logger log
public Evidence(List assertionIDRef, List assertion)
Assertion and
AssertionIDReference objects.assertionIDRef - Set of AssertionIDReference objects.assertion - Set of Assertion objects.SAMLException - if either Set is empty or has invalid object.public Evidence(EvidenceType eveType)
public static EvidenceType fromElement(Element element) throws SAMLException
Evidence object from a block of existing XML
that has already been built into a DOM.element - A org.w3c.dom.Element
representing DOM tree for Evidence object.SAMLException - if it could not process the Element properly,
implying that there is an error in the sender or in the
element definition.Copyright © 2005–2018 Oracle Corporation. All rights reserved.