Class AudienceRestrictionType

java.lang.Object
eu.europa.esig.saml.jaxb.assertion.ConditionAbstractType
eu.europa.esig.saml.jaxb.assertion.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">
  <complexContent>
    <extension base="{urn:oasis:names:tc:SAML:2.0:assertion}ConditionAbstractType">
      <sequence>
        <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Audience" maxOccurs="unbounded"/>
      </sequence>
    </extension>
  </complexContent>
</complexType>
  • Field Details

  • Constructor Details

    • AudienceRestrictionType

      public AudienceRestrictionType()
  • Method Details

    • 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 Jakarta XML Binding object. This is why there is not a set method for the audience property.

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

         getAudience().add(newItem);
      

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