public class AuthnSourceSelectionFieldDescriptor extends FilterableSelectionFieldDescriptor
FilterableSelectionFieldDescriptor.FilterableSelectionFieldDefaultValidator, FilterableSelectionFieldDescriptor.QueryParam, FilterableSelectionFieldDescriptor.SearchableType, FilterableSelectionFieldDescriptor.SearchableTypeConfig
FieldDescriptor.FieldValidationWrapper
Modifier and Type | Field and Description |
---|---|
static String |
SOURCE_SUFFIX_IDP_ADAPTER |
static String |
SOURCE_SUFFIX_IDP_CONNECTION |
SELECTED_VALUE_DELIMITER, STORAGE_KEY_DELIMITER
Constructor and Description |
---|
AuthnSourceSelectionFieldDescriptor(String name,
String description)
Creates a new AuthnSourceSelectionFieldDescriptor.
|
Modifier and Type | Method and Description |
---|---|
List<FilterableSelectionFieldDescriptor.SearchableTypeConfig> |
getSearchableTypes()
Gets the list of search type configurations of a FilterableSelectionFieldDescriptor instance.
|
String |
getSelectedDisplayName(String valueForStorage)
Gets the display string value of a stored value returned by parseSelectedValueForStorage.
|
org.sourceid.saml20.service.AuthnSourceKey |
storageKeyToSourceKey(String storageKey) |
String |
storageKeyToSourceName(String storageKey) |
getFormattedValue, isValidFormat, parseSelectedValueForStorage
addValidator, addValidator, getDefaultForLegacyConfig, getDefaultValue, getDescription, getLabel, getName, getValidationChain, setDefaultForLegacyConfig, setDefaultValue, setLabel
public static final String SOURCE_SUFFIX_IDP_CONNECTION
public static final String SOURCE_SUFFIX_IDP_ADAPTER
public List<FilterableSelectionFieldDescriptor.SearchableTypeConfig> getSearchableTypes()
FilterableSelectionFieldDescriptor
getSearchableTypes
in class FilterableSelectionFieldDescriptor
public String getSelectedDisplayName(String valueForStorage)
FilterableSelectionFieldDescriptor
For example, when a unique OAuth client ID is returned by parseSelectedValueForStorage, instead of using the client ID as the display string, a FilterableSelectionFieldDescriptor implementation may opt to display the corresponding client name of client ID instead, possibly obtained through data store query.
getSelectedDisplayName
in class FilterableSelectionFieldDescriptor
valueForStorage
- typically an unique ID of a data object, e.g. a connection (system) ID, an adapter ID, or an OAuth client ID etc.public org.sourceid.saml20.service.AuthnSourceKey storageKeyToSourceKey(String storageKey)
Copyright 2019 Ping Identity Corp. All rights reserved.