Class AudienceRestrictionCondition

    • Field Detail

      • log

        protected static final Logger log
    • Constructor Detail

      • AudienceRestrictionCondition

        public AudienceRestrictionCondition​(List audience)
        This constructor takes in a List of audience for this condition, each of them being a String.
        Parameters:
        audience - A List of audience to be included within this condition
    • Method Detail

      • fromElement

        public static AudienceRestrictionConditionType fromElement​(Element element)
                                                            throws SAMLException
        Constructs an AudienceRestrictionCondition element from an existing XML block.
        Parameters:
        element - A org.w3c.dom.Element representing DOM tree for AudienceRestrictionCondition object.
        Throws:
        SAMLException - if it could not process the org.w3c.dom.Element properly, implying that there is an error in the sender or in the element definition.