Package com.sun.identity.saml2.assertion
Interface AudienceRestriction
-
- All Superinterfaces:
ConditionAbstract
,XmlSerializable
@SupportedAll public interface AudienceRestriction extends ConditionAbstract
TheAudienceRestriction
specifies that the assertion is addressed to one or more specificAudience
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getAudience()
Returns a list ofString
represented audiencesboolean
isMutable()
Returns true if the object is mutablevoid
makeImmutable()
Makes the object immutablevoid
setAudience(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 ofString
represented audiences- Returns:
- a list of
String
represented 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:
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
-
-