Class Evidence
- java.lang.Object
-
- com.sun.xml.wss.saml.internal.saml20.jaxb20.EvidenceType
-
- com.sun.xml.wss.saml.assertion.saml20.jaxb20.Evidence
-
- All Implemented Interfaces:
Evidence
public class Evidence extends EvidenceType implements Evidence
TheEvidenceelement specifies an assertion either by reference or by value. An assertion is specified by reference to the value of the assertion'sAssertionIDReferenceelement. An assertion is specified by value by including the entireAssertionobject
-
-
Field Summary
Fields Modifier and Type Field Description protected static Loggerlog-
Fields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.EvidenceType
assertionIDRefOrAssertionURIRefOrAssertion
-
-
Constructor Summary
Constructors Constructor Description Evidence(EvidenceType eveType)Evidence(List assertionIDRef, List assertion)Constructs an Evidence from a Set ofAssertionandAssertionIDReferenceobjects.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EvidenceTypefromElement(Element element)Constructs anEvidenceobject from a block of existing XML that has already been built into a DOM.-
Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.EvidenceType
getAssertionIDRefOrAssertionURIRefOrAssertion
-
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
Evidence
public Evidence(List assertionIDRef, List assertion)
Constructs an Evidence from a Set ofAssertionandAssertionIDReferenceobjects.- Parameters:
assertionIDRef- Set ofAssertionIDReferenceobjects.assertion- Set ofAssertionobjects.- Throws:
SAMLException- if either Set is empty or has invalid object.
-
Evidence
public Evidence(EvidenceType eveType)
-
-
Method Detail
-
fromElement
public static EvidenceType fromElement(Element element) throws SAMLException
Constructs anEvidenceobject from a block of existing XML that has already been built into a DOM.- Parameters:
element- Aorg.w3c.dom.Elementrepresenting DOM tree forEvidenceobject.- Throws:
SAMLException- if it could not process the Element properly, implying that there is an error in the sender or in the element definition.
-
-