Package com.sun.identity.saml2.assertion
Interface AudienceRestriction
-
- All Superinterfaces:
ConditionAbstract,XmlSerializable
@SupportedAll public interface AudienceRestriction extends ConditionAbstract
TheAudienceRestrictionspecifies that the assertion is addressed to one or more specificAudiences.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getAudience()Returns a list ofStringrepresented audiencesbooleanisMutable()Returns true if the object is mutablevoidmakeImmutable()Makes the object immutablevoidsetAudience(List<String> audiences)Sets the audiences-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
-
-
-
Method Detail
-
getAudience
List<String> getAudience()
Returns a list ofStringrepresented audiences- Returns:
- a list of
Stringrepresented audiences
-
setAudience
void setAudience(List<String> audiences) throws SAML2Exception
Sets the audiences- Parameters:
audiences- List of audiences as URI strings- Throws:
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
-
-