|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml.assertion.EvidenceBase com.sun.identity.saml.assertion.Evidence
public class 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
Constructor Summary | |
---|---|
Evidence(Element assertionSpecifierElement)
Constructs an Evidence object from a block of existing XML
that has already been built into a DOM. |
|
Evidence(Set evidenceContent)
Constructs a new Evidence> element containing a
set of Assertion objects. |
|
Evidence(Set assertionIDRef,
Set assertion)
Constructs an Evidence from a Set of Assertion and
AssertionIDReference objects. |
Method Summary | |
---|---|
protected AssertionBase |
createAssertion(Element assertionElement)
Creates appropriate Assertion Instance |
protected AssertionIDReference |
createAssertionIDReference(String assertionID)
Creates appropriate AssertionIDReference Instance |
Methods inherited from class com.sun.identity.saml.assertion.EvidenceBase |
---|
addAssertion, addAssertionIDReference, getAssertion, getAssertionIDReference, removeAssertion, removeAssertionIDReference, toString, toString |
Constructor Detail |
---|
public Evidence(Element assertionSpecifierElement) throws SAMLException
Evidence
object from a block of existing XML
that has already been built into a DOM.
assertionSpecifierElement
- 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.public Evidence(Set evidenceContent) throws SAMLException
Evidence>
element containing a
set of Assertion
objects.
evidenceContent
- A set of Assertion
and
AssertionIDReference
objects to be put within the
Evidence
element. The same Set contains both type
of elements.
SAMLException
- if the Set is empty or has invalid object.public Evidence(Set assertionIDRef, Set assertion) throws SAMLException
Assertion
and
AssertionIDReference
objects.
assertionIDRef
- Set of AssertionIDReference
objects.assertion
- Set of Assertion
objects.
SAMLException
- if either Set is empty or has invalid object.Method Detail |
---|
protected AssertionBase createAssertion(Element assertionElement) throws SAMLException
EvidenceBase
createAssertion
in class EvidenceBase
assertionElement
- the assertion Element
SAMLException
protected AssertionIDReference createAssertionIDReference(String assertionID) throws SAMLException
EvidenceBase
createAssertionIDReference
in class EvidenceBase
assertionID
- the assertion ID String
SAMLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |