Package org.sourceid.saml20.adapter.gui
Class ConnectionSelectionFieldDescriptor
java.lang.Object
org.sourceid.saml20.adapter.gui.FieldDescriptor
org.sourceid.saml20.adapter.gui.FilterableSelectionFieldDescriptor
org.sourceid.saml20.adapter.gui.ConnectionSelectionFieldDescriptor
- All Implemented Interfaces:
Serializable
A filterable dropdown control that enables the selection of an IdP or SP connection in a way that's user friendly and scalable.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumConnectionType configures the data source (i.e. the Admin API end-point) that the filterable drop-down menu will poll its searchable data from.Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FilterableSelectionFieldDescriptor
FilterableSelectionFieldDescriptor.FilterableSelectionFieldDefaultValidator, FilterableSelectionFieldDescriptor.QueryParam, FilterableSelectionFieldDescriptor.SearchableType, FilterableSelectionFieldDescriptor.SearchableTypeConfigNested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
FieldDescriptor.FieldValidationWrapper -
Field Summary
Fields inherited from class org.sourceid.saml20.adapter.gui.FilterableSelectionFieldDescriptor
SELECTED_VALUE_DELIMITER, STORAGE_KEY_DELIMITER -
Constructor Summary
ConstructorsConstructorDescriptionConnectionSelectionFieldDescriptor(String name, String description, ConnectionSelectionFieldDescriptor.ConnectionType connectionType) Creates a new ConnectionSelectionFieldDescriptor. -
Method Summary
Modifier and TypeMethodDescriptionGet the connection type of a ConnectionSelectionFieldDescriptor instance.Gets the list of search type configurations of a FilterableSelectionFieldDescriptor instance.Methods inherited from class org.sourceid.saml20.adapter.gui.FilterableSelectionFieldDescriptor
getFormattedValue, getSelectedDisplayName, isValidFormat, parseSelectedValueForStorageMethods inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
addValidator, addValidator, getDefaultForLegacyConfig, getDefaultValue, getDescription, getLabel, getName, getValidationChain, isHidden, setDefaultForLegacyConfig, setDefaultValue, setHidden, setLabel
-
Constructor Details
-
ConnectionSelectionFieldDescriptor
public ConnectionSelectionFieldDescriptor(String name, String description, ConnectionSelectionFieldDescriptor.ConnectionType connectionType) Creates a new ConnectionSelectionFieldDescriptor.- Parameters:
name- the field namedescription- a helpful description of the field.connectionType- either an IdP connection type or a SP connection type
-
-
Method Details
-
getConnectionType
Get the connection type of a ConnectionSelectionFieldDescriptor instance.- Returns:
- a connection type
-
getSearchableTypes
Description copied from class:FilterableSelectionFieldDescriptorGets the list of search type configurations of a FilterableSelectionFieldDescriptor instance.- Specified by:
getSearchableTypesin classFilterableSelectionFieldDescriptor- Returns:
- a list of search type configuration supported by this filterable selection field descriptor
-