Package com.sun.identity.saml2.assertion
Interface Advice
-
- All Superinterfaces:
XmlSerializable
@SupportedAll public interface Advice extends XmlSerializable
TheAdvice
contains any additional information that the SAML authority wishes to provide. This information may be ignored by applications without affecting either the semantics or the validity of the assertion. AnAdvice
contains a mixture of zero or moreAssertion
,EncryptedAssertion
,AssertionIDRef
, andAssertionURIRef
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List
getAdditionalInfo()
Returns a list of additional informationList<AssertionIDRef>
getAssertionIDRefs()
Returns a list ofAssertionIDRef
List<Assertion>
getAssertions()
Returns a list ofAssertion
List
getAssertionURIRefs()
Returns a list ofAssertionURIRef
List<EncryptedAssertion>
getEncryptedAssertions()
Returns a list ofEncryptedAssertion
boolean
isMutable()
Returns true if the object is mutablevoid
makeImmutable()
Makes the object immutablevoid
setAdditionalInfo(List info)
Sets a list of additional informationvoid
setAssertionIDRefs(List<AssertionIDRef> idRefs)
Sets a list ofAssertionIDRef
void
setAssertions(List<Assertion> assertions)
Sets a list ofAssertion
void
setAssertionURIRefs(List uriRefs)
Sets a list ofAssertionURIRef
void
setEncryptedAssertions(List<EncryptedAssertion> encryptedAssertions)
Sets a list ofEncryptedAssertion
-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
-
-
-
Method Detail
-
getAssertions
List<Assertion> getAssertions()
Returns a list ofAssertion
- Returns:
- a list of
Assertion
-
setAssertions
void setAssertions(List<Assertion> assertions) throws SAML2Exception
Sets a list ofAssertion
- Parameters:
assertions
- a list ofAssertion
- Throws:
SAML2Exception
- if the object is immutable
-
getAssertionIDRefs
List<AssertionIDRef> getAssertionIDRefs()
Returns a list ofAssertionIDRef
- Returns:
- a list of
AssertionIDRef
-
setAssertionIDRefs
void setAssertionIDRefs(List<AssertionIDRef> idRefs) throws SAML2Exception
Sets a list ofAssertionIDRef
- Parameters:
idRefs
- a list ofAssertionIDRef
- Throws:
SAML2Exception
- if the object is immutable
-
getAssertionURIRefs
List getAssertionURIRefs()
Returns a list ofAssertionURIRef
- Returns:
- a list of
AssertionURIRef
-
setAssertionURIRefs
void setAssertionURIRefs(List uriRefs) throws SAML2Exception
Sets a list ofAssertionURIRef
- Parameters:
uriRefs
- a list ofAssertionURIRef
- Throws:
SAML2Exception
- if the object is immutable
-
getEncryptedAssertions
List<EncryptedAssertion> getEncryptedAssertions()
Returns a list ofEncryptedAssertion
- Returns:
- a list of
EncryptedAssertion
-
setEncryptedAssertions
void setEncryptedAssertions(List<EncryptedAssertion> encryptedAssertions) throws SAML2Exception
Sets a list ofEncryptedAssertion
- Parameters:
encryptedAssertions
- a list ofEncryptedAssertion
- Throws:
SAML2Exception
- if the object is immutable
-
getAdditionalInfo
List getAdditionalInfo()
Returns a list of additional information- Returns:
- a list of additional information
-
setAdditionalInfo
void setAdditionalInfo(List info) throws SAML2Exception
Sets a list of additional information- Parameters:
info
- a list of additional information- Throws:
SAML2Exception
- if the object is immutable
-
makeImmutable
void makeImmutable()
Makes the object immutable
-
isMutable
boolean isMutable()
Returns true if the object is mutable- Returns:
- true if the object is mutable
-
-