Package com.sun.identity.saml2.assertion
Interface Evidence
-
- All Superinterfaces:
XmlSerializable
@SupportedAll public interface Evidence extends XmlSerializable
TheEvidenceelement contains one or more assertions or assertion references that the SAML authority relied on in issuing the authorization decision. It has theEvidenceTypecomplex 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>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Assertion>getAssertion()Returns theAssertion(s) in the element.List<AssertionIDRef>getAssertionIDRef()Returns theAssertionIDRefin the element.ListgetAssertionURIRef()Returns theAssertionURIRef(s) in the element.List<EncryptedAssertion>getEncryptedAssertion()Returns theEncryptedAssertion(s) in the element.booleanisMutable()Returns the mutability of the object.voidmakeImmutable()Makes the object immutable.voidsetAssertion(List<Assertion> value)Sets theAssertion(s) in the element.voidsetAssertionIDRef(List<AssertionIDRef> value)Sets theAssertionIDRef(s) in the element.voidsetAssertionURIRef(List value)Sets theAssertionURIRef(s) in the element.voidsetEncryptedAssertion(List<EncryptedAssertion> value)Sets theEncryptedAssertion(s) in the element.StringtoXMLString()Returns a String representation of the element.StringtoXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment
-
-
-
-
Method Detail
-
makeImmutable
void makeImmutable()
Makes the object immutable.
-
isMutable
boolean isMutable()
Returns the mutability of the object.- Returns:
trueif the object is mutable;falseotherwise.
-
getAssertionIDRef
List<AssertionIDRef> getAssertionIDRef()
Returns theAssertionIDRefin the element.- Returns:
- List of Strings representing the
AssertionIDRefs in theEvidence. - See Also:
setAssertionIDRef(List)
-
setAssertionIDRef
void setAssertionIDRef(List<AssertionIDRef> value) throws SAML2Exception
Sets theAssertionIDRef(s) in the element.- Parameters:
value- List of Strings representing newAssertionIDRef(s).- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAssertionIDRef()
-
getAssertionURIRef
List getAssertionURIRef()
Returns theAssertionURIRef(s) in the element.- Returns:
- List of Strings representing the
AssertionURIRef(s) in theEvidence. - See Also:
setAssertionURIRef(List)
-
setAssertionURIRef
void setAssertionURIRef(List value) throws SAML2Exception
Sets theAssertionURIRef(s) in the element.- Parameters:
value- List of Strings representing newAssertionURIRef(s).- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAssertionURIRef()
-
getAssertion
List<Assertion> getAssertion()
Returns theAssertion(s) in the element.- Returns:
- List of
Assertion(s) in theEvidence. - See Also:
setAssertion(List)
-
setAssertion
void setAssertion(List<Assertion> value) throws SAML2Exception
Sets theAssertion(s) in the element.- Parameters:
value- List of newAssertion(s).- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAssertion()
-
getEncryptedAssertion
List<EncryptedAssertion> getEncryptedAssertion()
Returns theEncryptedAssertion(s) in the element.- Returns:
- List of
EncryptedAssertion(s) in theEvidence. - See Also:
setEncryptedAssertion(List)
-
setEncryptedAssertion
void setEncryptedAssertion(List<EncryptedAssertion> value) throws SAML2Exception
Sets theEncryptedAssertion(s) in the element.- Parameters:
value- List of newEncryptedAssertion(s).- Throws:
SAML2Exception- if the object is immutable.- See Also:
getEncryptedAssertion()
-
toXMLString
String toXMLString() throws SAML2Exception
Returns a String representation of the element.- Specified by:
toXMLStringin interfaceXmlSerializable- Returns:
- A string containing the valid XML for this element. By default name space name is prepended to the element name.
- Throws:
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.- Specified by:
toXMLStringin interfaceXmlSerializable- Parameters:
includeNS- Determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- Determines whether or not the namespace is declared within the Element.- Returns:
- A string containing the valid XML for this element
- Throws:
SAML2Exception- if the object does not conform to the schema.
-
-