Class SAMLPropertyXMLBuilder
- java.lang.Object
-
- com.sun.identity.console.federation.SAMLPropertyXMLBuilder
-
- All Implemented Interfaces:
PropertyTemplate
public class SAMLPropertyXMLBuilder extends Object implements PropertyTemplate
-
-
Field Summary
Fields Modifier and Type Field Description static StringDESTINATION_ARTIFACTstatic StringDESTINATION_POSTstatic StringDESTINATION_SOAPstatic StringSOURCE_ARTIFACTstatic StringSOURCE_POST-
Fields inherited from interface com.sun.identity.console.property.PropertyTemplate
ADD_REMOVE_COMPONENT_XML, ANY_ADMIN_DISPLAY, ANY_ADMIN_DISPLAYRO, ANY_DISPLAY, ANY_DISPLAYRO, ANY_REQUIRED, BLANK_VALUE, COMPONENT_ACTION_BUTTON_START_TAG, COMPONENT_ADD_REMOVE_DUPLICATION_EDIT_TAG, COMPONENT_BOOLEAN_START_TAG, COMPONENT_BUTTON_START_TAG, COMPONENT_EDITABLE_LIST_START_TAG, COMPONENT_END_TAG, COMPONENT_GLOBAL_MAP_LIST_START_TAG, COMPONENT_LINK_START_TAG, COMPONENT_MAP_LIST_START_TAG, COMPONENT_ORDERED_LIST_START_TAG, COMPONENT_PWD_START_TAG, COMPONENT_START_TAG, COMPONENT_UNORDERED_LIST_START_TAG, COMPONENT_UPLOAD_BUTTON_START_TAG, DATE_MARKER, DATE_MARKER_NAME, DEFAULT_TEXTFIELD_SIZE, DEFINITION, DYN_GUI_MULTIPLE_LIST_CHECKBOX_MARKER, DYN_GUI_MULTIPLE_LIST_CHECKBOX_PREFIX, DYN_GUI_MULTIPLE_LIST_CHECKBOX_XML, DYN_GUI_MULTIPLE_LIST_MARKER_XML, END_TAG, GROUP_END_TAG, GROUP_START_TAG, HELP_TAG, LABEL_PWD_TAG, LABEL_TAG, LIST_SIZE_TAG, MULTIPLE_ATTRIBUTE_TAG, NO_AUTO_SUBMIT, NON_LOCALIZED_FIELD, NULL_TYPE, OPTION_LABEL_ATTR_NAME, OPTION_TAG, OPTION_TAG_NAME, OPTION_VALUE_ATTR_NAME, PARAM_ATTR_NAME, PARAM_PROPERTIES_VIEW_BEAN_URL, PASSWORD_VALUE_TAG, PROPERTY_END_TAG, PROPERTY_REQUIRED_START_TAG, PROPERTY_START_OPEN_TAG, PROPERTY_START_TAG, PWD_CONFIRM_SUFFIX, READONLY_START_TAG, SECTION_DUMMY_START_TAG, SECTION_END_TAG, SECTION_START_TAG, START_TAG, STATIC_TEXT_TAG_NAME, SUB_CONFIG_TABLE_VIEW_BEAN, SUB_CONFIG_TABLE_XML, SUBSECTION_DUMMY_START_TAG, SUBSECTION_END_TAG, SUBSECTION_START_TAG, TAGNAME_BUTTON, TAGNAME_CHECKBOX, TAGNAME_DROPDOWN_MENU, TAGNAME_EDITABLE_LIST, TAGNAME_GLOBAL_MAP_LIST, TAGNAME_HREF, TAGNAME_MAP_LIST, TAGNAME_MULTIPLE_CHOICE, TAGNAME_ORDERED_LIST, TAGNAME_PASSWORD, TAGNAME_TEXTAREA, TAGNAME_TEXTFIELD, TAGNAME_UNORDERED_LIST, TEXTAREA_SIZE_TAG, TEXTBOX_SIZE_TAG, VALUE_OPTION_TAG, VALUE_OPTION_TAG_NAME
-
-
Constructor Summary
Constructors Constructor Description SAMLPropertyXMLBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SetgetAttributeNames(List samlProperties)get samlv1.x attribute namesstatic SAMLPropertyXMLBuildergetInstance()get samlv1.x Instance.SetgetMandatoryAttributeNames(List samlProperties)get samlv1.x PropertiesListgetSAMLProperties(Map values)get samlv1.x Propertiesstatic SAMLPropertygetSAMLProperty(String name)get samlv1.x Property.StringgetXML(List samlProperties, boolean edit)get samlv1.x trusted partner properties sheet, xml format.voidsetAllAttributeReadOnly(boolean flag)Set all all attribute values read only.
-
-
-
Field Detail
-
DESTINATION_ARTIFACT
public static final String DESTINATION_ARTIFACT
- See Also:
- Constant Field Values
-
DESTINATION_POST
public static final String DESTINATION_POST
- See Also:
- Constant Field Values
-
SOURCE_ARTIFACT
public static final String SOURCE_ARTIFACT
- See Also:
- Constant Field Values
-
SOURCE_POST
public static final String SOURCE_POST
- See Also:
- Constant Field Values
-
DESTINATION_SOAP
public static final String DESTINATION_SOAP
- See Also:
- Constant Field Values
-
-
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 Propertiesedit- 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.
-
-