com.sun.identity.saml2.assertion
インタフェース Evidence


public interface Evidence

The Evidence element contains one or more assertions or assertion references that the SAML authority relied on in issuing the authorization decision. It has the EvidenceType complex type.

 <complexType name="EvidenceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}
         AssertionIDRef"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}
         AssertionURIRef"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Assertion"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}
         EncryptedAssertion"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 


メソッドの概要
 List getAssertion()
          Returns the Assertion(s) in the element.
 List getAssertionIDRef()
          Returns the AssertionIDRef in the element.
 List getAssertionURIRef()
          Returns the AssertionURIRef(s) in the element.
 List getEncryptedAssertion()
          Returns the EncryptedAssertion(s) in the element.
 boolean isMutable()
          Returns the mutability of the object.
 void makeImmutable()
          Makes the object immutable.
 void setAssertion(List value)
          Sets the Assertion(s) in the element.
 void setAssertionIDRef(List value)
          Sets the AssertionIDRef(s) in the element.
 void setAssertionURIRef(List value)
          Sets the AssertionURIRef(s) in the element.
 void setEncryptedAssertion(List value)
          Sets the EncryptedAssertion(s) in the element.
 String toXMLString()
          Returns a String representation of the element.
 String toXMLString(boolean includeNS, boolean declareNS)
          Returns a String representation of the element.
 

メソッドの詳細

makeImmutable

void makeImmutable()
Makes the object immutable.


isMutable

boolean isMutable()
Returns the mutability of the object.

戻り値:
true if the object is mutable; false otherwise.

getAssertionIDRef

List getAssertionIDRef()
Returns the AssertionIDRef in the element.

戻り値:
List of Strings representing the AssertionIDRefs in the Evidence.
関連項目:
Evidence.setAssertionIDRef(List)

setAssertionIDRef

void setAssertionIDRef(List value)
                       throws SAML2Exception
Sets the AssertionIDRef(s) in the element.

パラメータ:
value - List of Strings representing new AssertionIDRef(s).
例外:
SAML2Exception - if the object is immutable.
関連項目:
Evidence.getAssertionIDRef()

getAssertionURIRef

List getAssertionURIRef()
Returns the AssertionURIRef(s) in the element.

戻り値:
List of Strings representing the AssertionURIRef(s) in the Evidence.
関連項目:
Evidence.setAssertionURIRef(List)

setAssertionURIRef

void setAssertionURIRef(List value)
                        throws SAML2Exception
Sets the AssertionURIRef(s) in the element.

パラメータ:
value - List of Strings representing new AssertionURIRef(s).
例外:
SAML2Exception - if the object is immutable.
関連項目:
Evidence.getAssertionURIRef()

getAssertion

List getAssertion()
Returns the Assertion(s) in the element.

戻り値:
List of Assertion(s) in the Evidence.
関連項目:
Evidence.setAssertion(List)

setAssertion

void setAssertion(List value)
                  throws SAML2Exception
Sets the Assertion(s) in the element.

パラメータ:
value - List of new Assertion(s).
例外:
SAML2Exception - if the object is immutable.
関連項目:
Evidence.getAssertion()

getEncryptedAssertion

List getEncryptedAssertion()
Returns the EncryptedAssertion(s) in the element.

戻り値:
List of EncryptedAssertion(s) in the Evidence.
関連項目:
Evidence.setEncryptedAssertion(List)

setEncryptedAssertion

void setEncryptedAssertion(List value)
                           throws SAML2Exception
Sets the EncryptedAssertion(s) in the element.

パラメータ:
value - List of new EncryptedAssertion(s).
例外:
SAML2Exception - if the object is immutable.
関連項目:
Evidence.getEncryptedAssertion()

toXMLString

String toXMLString()
                   throws SAML2Exception
Returns a String representation of the element.

戻り値:
A string containing the valid XML for this element. By default name space name is prepended to the element name.
例外:
SAML2Exception - if the object does not conform to the schema.

toXMLString

String toXMLString(boolean includeNS,
                   boolean declareNS)
                   throws SAML2Exception
Returns a String representation of the element.

パラメータ:
includeNS - Determines whether or not the namespace qualifier is prepended to the Element when converted
declareNS - Determines whether or not the namespace is declared within the Element.
戻り値:
A string containing the valid XML for this element
例外:
SAML2Exception - if the object does not conform to the schema.