Class SAMLPropertyXMLBuilder

    • Constructor Detail

      • SAMLPropertyXMLBuilder

        public SAMLPropertyXMLBuilder()
    • Method Detail

      • getInstance

        public static SAMLPropertyXMLBuilder getInstance()
        get samlv1.x Instance.
        Returns:
        samlv1.x instance
      • getSAMLProperty

        public static SAMLProperty getSAMLProperty​(String name)
        get samlv1.x Property.
        Parameters:
        name - the name of the SAML property to return
        Returns:
        samlv1.x Property
      • getAttributeNames

        public Set getAttributeNames​(List samlProperties)
        get samlv1.x attribute names
        Parameters:
        samlProperties - a list of saml properties
        Returns:
        Set a set of attributes
      • getSAMLProperties

        public List getSAMLProperties​(Map values)
        get samlv1.x Properties
        Parameters:
        values - a Map of attribute values
        Returns:
        List a list of SAMLProperty
      • getMandatoryAttributeNames

        public Set getMandatoryAttributeNames​(List samlProperties)
        get samlv1.x Properties
        Parameters:
        samlProperties - a Map of attribute values.
        Returns:
        a set of SAMLProperty.
      • getXML

        public String getXML​(List samlProperties,
                             boolean edit)
        get samlv1.x trusted partner properties sheet, xml format.
        Parameters:
        samlProperties - a List of samlv1.x Properties
        edit - boolean for readonly or editable
        Returns:
        String a string of saml trusted partner properties
      • setAllAttributeReadOnly

        public void setAllAttributeReadOnly​(boolean flag)
        Set all all attribute values read only.
        Parameters:
        flag - true if all attribute values are read only.