Interface AudienceRestriction

All Superinterfaces:
ConditionAbstract, XmlSerializable

@SupportedAll public interface AudienceRestriction extends ConditionAbstract
The AudienceRestriction specifies that the assertion is addressed to one or more specific Audiences.
  • Method Details

    • getAudience

      List<String> getAudience()
      Returns a list of String represented audiences
      Returns:
      a list of String represented audiences
    • setAudience

      void setAudience(List<String> audiences) throws com.sun.identity.saml2.common.SAML2Exception
      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 interface ConditionAbstract
    • isMutable

      boolean isMutable()
      Returns true if the object is mutable
      Specified by:
      isMutable in interface ConditionAbstract
      Returns:
      true if the object is mutable