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 Audience
s.-
Method Summary
Modifier and TypeMethodDescriptionReturns a list ofString
represented audiencesboolean
Returns true if the object is mutablevoid
Makes the object immutablevoid
setAudience
(List<String> audiences) Sets the audiencesMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getAudience
Returns a list ofString
represented audiences- Returns:
- a list of
String
represented 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:
makeImmutable
in interfaceConditionAbstract
-
isMutable
boolean isMutable()Returns true if the object is mutable- Specified by:
isMutable
in interfaceConditionAbstract
- Returns:
- true if the object is mutable
-