Package com.sun.identity.saml2.assertion
Interface AudienceRestriction
- All Superinterfaces:
ConditionAbstract,XmlSerializable
The
AudienceRestriction specifies that the assertion
is addressed to one or more specific Audiences.-
Method Summary
Modifier and TypeMethodDescriptionReturns a list ofStringrepresented audiencesbooleanReturns true if the object is mutablevoidMakes the object immutablevoidsetAudience(List<String> audiences) Sets the audiencesMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getAudience
Returns a list ofStringrepresented audiences- Returns:
- a list of
Stringrepresented audiences
-
setAudience
Sets the audiences- Parameters:
audiences- List of audiences as URI strings- Throws:
com.sun.identity.saml2.common.SAML2Exception- if the object is immutable
-
makeImmutable
void makeImmutable()Makes the object immutable- Specified by:
makeImmutablein interfaceConditionAbstract
-
isMutable
boolean isMutable()Returns true if the object is mutable- Specified by:
isMutablein interfaceConditionAbstract- Returns:
- true if the object is mutable
-