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
public class ConnectionSelectionFieldDescriptor extends FilterableSelectionFieldDescriptor
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectionSelectionFieldDescriptor.ConnectionTypeConnectionType configures the data source (i.e.-
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FilterableSelectionFieldDescriptor
FilterableSelectionFieldDescriptor.FilterableSelectionFieldDefaultValidator, FilterableSelectionFieldDescriptor.QueryParam, FilterableSelectionFieldDescriptor.SearchableType, FilterableSelectionFieldDescriptor.SearchableTypeConfig
-
Nested 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
Constructors Constructor Description ConnectionSelectionFieldDescriptor(String name, String description, ConnectionSelectionFieldDescriptor.ConnectionType connectionType)Creates a new ConnectionSelectionFieldDescriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionSelectionFieldDescriptor.ConnectionTypegetConnectionType()Get the connection type of a ConnectionSelectionFieldDescriptor instance.List<FilterableSelectionFieldDescriptor.SearchableTypeConfig>getSearchableTypes()Gets the list of search type configurations of a FilterableSelectionFieldDescriptor instance.-
Methods inherited from class org.sourceid.saml20.adapter.gui.FilterableSelectionFieldDescriptor
getFormattedValue, getSelectedDisplayName, isValidFormat, parseSelectedValueForStorage
-
Methods inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
addValidator, addValidator, getDefaultForLegacyConfig, getDefaultValue, getDescription, getLabel, getName, getValidationChain, isHidden, setDefaultForLegacyConfig, setDefaultValue, setHidden, setLabel
-
-
-
-
Constructor Detail
-
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 Detail
-
getConnectionType
public ConnectionSelectionFieldDescriptor.ConnectionType getConnectionType()
Get the connection type of a ConnectionSelectionFieldDescriptor instance.- Returns:
- a connection type
-
getSearchableTypes
public List<FilterableSelectionFieldDescriptor.SearchableTypeConfig> 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
-
-