com.sun.identity.saml.assertion
クラス Evidence

java.lang.Object
  上位を拡張 com.sun.identity.saml.assertion.EvidenceBase
      上位を拡張 com.sun.identity.saml.assertion.Evidence

public class Evidence
extends EvidenceBase

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


コンストラクタの概要
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.
 
メソッドの概要
protected  AssertionBase createAssertion(Element assertionElement)
          Creates appropriate Assertion Instance
protected  AssertionIDReference createAssertionIDReference(String assertionID)
          Creates appropriate AssertionIDReference Instance
 
クラス com.sun.identity.saml.assertion.EvidenceBase から継承されたメソッド
addAssertion, addAssertionIDReference, getAssertion, getAssertionIDReference, removeAssertion, removeAssertionIDReference, toString, toString
 

コンストラクタの詳細

Evidence

public Evidence(Element assertionSpecifierElement)
         throws SAMLException
Constructs an 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.

Evidence

public Evidence(Set evidenceContent)
         throws SAMLException
Constructs a new 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.

Evidence

public Evidence(Set assertionIDRef,
                Set assertion)
         throws SAMLException
Constructs an Evidence from a Set of Assertion and AssertionIDReference objects.

パラメータ:
assertionIDRef - Set of AssertionIDReference objects.
assertion - Set of Assertion objects.
例外:
SAMLException - if either Set is empty or has invalid object.
メソッドの詳細

createAssertion

protected AssertionBase createAssertion(Element assertionElement)
                                 throws SAMLException
クラス EvidenceBase の記述:
Creates appropriate Assertion Instance

定義:
クラス EvidenceBase 内の createAssertion
パラメータ:
assertionElement - the assertion Element
戻り値:
the assertion instance
例外:
SAMLException

createAssertionIDReference

protected AssertionIDReference createAssertionIDReference(String assertionID)
                                                   throws SAMLException
クラス EvidenceBase の記述:
Creates appropriate AssertionIDReference Instance

定義:
クラス EvidenceBase 内の createAssertionIDReference
パラメータ:
assertionID - the assertion ID String
戻り値:
the AssertionIDReference instance
例外:
SAMLException