public interface Advice
Advice
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. An Advice
contains a mixture
of zero or more Assertion
, EncryptedAssertion
,
AssertionIDRef
, and AssertionURIRef
.Modifier and Type | Method and Description |
---|---|
List |
getAdditionalInfo()
Returns a list of additional information
|
List |
getAssertionIDRefs()
Returns a list of
AssertionIDRef |
List |
getAssertions()
Returns a list of
Assertion |
List |
getAssertionURIRefs()
Returns a list of
AssertionURIRef |
List |
getEncryptedAssertions()
Returns a list of
EncryptedAssertion |
boolean |
isMutable()
Returns true if the object is mutable
|
void |
makeImmutable()
Makes the object immutable
|
void |
setAdditionalInfo(List info)
Sets a list of additional information
|
void |
setAssertionIDRefs(List idRefs)
Sets a list of
AssertionIDRef |
void |
setAssertions(List assertions)
Sets a list of
Assertion |
void |
setAssertionURIRefs(List uriRefs)
Sets a list of
AssertionURIRef |
void |
setEncryptedAssertions(List encryptedAssertions)
Sets a list of
EncryptedAssertion |
String |
toXMLString()
Returns a String representation
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation
|
List getAssertions()
Assertion
Assertion
void setAssertions(List assertions) throws SAML2Exception
Assertion
assertions
- a list of Assertion
SAML2Exception
- if the object is immutableList getAssertionIDRefs()
AssertionIDRef
AssertionIDRef
void setAssertionIDRefs(List idRefs) throws SAML2Exception
AssertionIDRef
idRefs
- a list of AssertionIDRef
SAML2Exception
- if the object is immutableList getAssertionURIRefs()
AssertionURIRef
AssertionURIRef
void setAssertionURIRefs(List uriRefs) throws SAML2Exception
AssertionURIRef
uriRefs
- a list of AssertionURIRef
SAML2Exception
- if the object is immutableList getEncryptedAssertions()
EncryptedAssertion
EncryptedAssertion
void setEncryptedAssertions(List encryptedAssertions) throws SAML2Exception
EncryptedAssertion
encryptedAssertions
- a list of EncryptedAssertion
SAML2Exception
- if the object is immutableList getAdditionalInfo()
void setAdditionalInfo(List info) throws SAML2Exception
info
- a list of additional informationSAML2Exception
- if the object is immutableString toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
includeNSPrefix
- 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.SAML2Exception
- if something is wrong during conversionString toXMLString() throws SAML2Exception
SAML2Exception
- if something is wrong during conversionvoid makeImmutable()
boolean isMutable()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.