public interface AudienceRestriction extends ConditionAbstract
AudienceRestriction
specifies that the assertion
is addressed to one or more specific Audience
s.Modifier and Type | Method and Description |
---|---|
List<String> |
getAudience()
Returns a list of
String represented audiences |
boolean |
isMutable()
Returns true if the object is mutable
|
void |
makeImmutable()
Makes the object immutable
|
void |
setAudience(List<String> audiences)
Sets the audiences
|
String |
toXMLString()
Returns a String representation
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation
|
List<String> getAudience()
String
represented audiencesString
represented audiencesvoid setAudience(List<String> audiences) throws SAML2Exception
audiences
- List of audiences as URI stringsSAML2Exception
- if the object is immutableString toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
toXMLString
in interface ConditionAbstract
includeNSPrefix
- Determines whether or not the namespace
qualifier is prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.SAML2Exception
- if something is wrong during conversionString toXMLString() throws SAML2Exception
toXMLString
in interface ConditionAbstract
SAML2Exception
- if something is wrong during conversionvoid makeImmutable()
makeImmutable
in interface ConditionAbstract
boolean isMutable()
isMutable
in interface ConditionAbstract
Copyright © 2010-2018, ForgeRock All Rights Reserved.