Class AudienceRestrictionImpl

    • Field Detail

      • AUDIENCE_RESTRICTION_ELEMENT

        public static String AUDIENCE_RESTRICTION_ELEMENT
      • AUDIENCE_ELEMENT

        public static String AUDIENCE_ELEMENT
    • Constructor Detail

      • AudienceRestrictionImpl

        public AudienceRestrictionImpl()
        Default constructor
      • AudienceRestrictionImpl

        public AudienceRestrictionImpl​(String xml)
                                throws SAML2Exception
        This constructor is used to build AudienceRestriction object from a XML string.
        Parameters:
        xml - A java.lang.String representing a AudienceRestriction object
        Throws:
        SAML2Exception - if it could not process the XML string
      • AudienceRestrictionImpl

        public AudienceRestrictionImpl​(Element element)
                                throws SAML2Exception
        This constructor is used to build AudienceRestriction object from a block of existing XML that has already been built into a DOM.
        Parameters:
        element - A org.w3c.dom.Element representing DOM tree for AudienceRestriction object
        Throws:
        SAML2Exception - if it could not process the Element