Interface AudienceRestriction

    • Method Detail

      • 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 SAML2Exception
        Sets the audiences
        Parameters:
        audiences - List of audiences as URI strings
        Throws:
        SAML2Exception - if the object is immutable
      • toXMLString

        String toXMLString​(boolean includeNSPrefix,
                           boolean declareNS)
                    throws SAML2Exception
        Returns a String representation
        Specified by:
        toXMLString in interface ConditionAbstract
        Parameters:
        includeNSPrefix - Determines whether or not the namespace qualifier is prepended to the Element when converted
        declareNS - Determines whether or not the namespace is declared within the Element.
        Returns:
        A String representation
        Throws:
        SAML2Exception - if something is wrong during conversion
      • isMutable

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