Class AudienceRestrictionType

  • public class AudienceRestrictionType
    extends ConditionAbstractType

    Java class for AudienceRestrictionType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="AudienceRestrictionType">
         <extension base="{urn:oasis:names:tc:SAML:2.0:assertion}ConditionAbstractType">
             <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Audience" maxOccurs="unbounded"/>
    • Constructor Detail

      • AudienceRestrictionType

        public AudienceRestrictionType()
    • Method Detail

      • getAudience

        public List<String> getAudience()
        Gets the value of the audience property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the audience property.

        For example, to add a new item, do as follows:


        Objects of the following type(s) are allowed in the list String