Package org.sourceid.saml20.adapter.gui
Class CaptchaProviderFieldDescriptor
- java.lang.Object
-
- org.sourceid.saml20.adapter.gui.FieldDescriptor
-
- org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
-
- org.sourceid.saml20.adapter.gui.SelectFieldDescriptor
-
- org.sourceid.saml20.adapter.gui.CaptchaProviderFieldDescriptor
-
- All Implemented Interfaces:
Serializable
public class CaptchaProviderFieldDescriptor extends SelectFieldDescriptor
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
AbstractSelectionFieldDescriptor.OptionValue
-
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
FieldDescriptor.FieldValidationWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static StringCAPTCHA_PROVIDER_FIELD_DESCDeprecated.static StringCAPTCHA_PROVIDER_FIELD_NAMEDeprecated.static AbstractSelectionFieldDescriptor.OptionValueDEFAULT'Default' option of the CaptchaProviderFieldDescriptor with an empty value.static StringRISK_PROVIDER_FIELD_DESCstatic StringRISK_PROVIDER_FIELD_NAME-
Fields inherited from class org.sourceid.saml20.adapter.gui.SelectFieldDescriptor
SELECT_ONE
-
Fields inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
NONE_SELECTED
-
-
Constructor Summary
Constructors Constructor Description CaptchaProviderFieldDescriptor(String name, String description)Creates a new CaptchaProviderFieldDescriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AbstractSelectionFieldDescriptor.OptionValue>getOptionValues()Gets the option values list-
Methods inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
getFormattedValue, setOptionValues
-
Methods inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
addValidator, addValidator, getDefaultForLegacyConfig, getDefaultValue, getDescription, getLabel, getName, getValidationChain, isHidden, setDefaultForLegacyConfig, setDefaultValue, setHidden, setLabel
-
-
-
-
Field Detail
-
CAPTCHA_PROVIDER_FIELD_NAME
@Deprecated public static final String CAPTCHA_PROVIDER_FIELD_NAME
Deprecated.- See Also:
- Constant Field Values
-
CAPTCHA_PROVIDER_FIELD_DESC
@Deprecated public static final String CAPTCHA_PROVIDER_FIELD_DESC
Deprecated.- See Also:
- Constant Field Values
-
RISK_PROVIDER_FIELD_NAME
public static final String RISK_PROVIDER_FIELD_NAME
- See Also:
- Constant Field Values
-
RISK_PROVIDER_FIELD_DESC
public static final String RISK_PROVIDER_FIELD_DESC
- See Also:
- Constant Field Values
-
DEFAULT
public static final AbstractSelectionFieldDescriptor.OptionValue DEFAULT
'Default' option of the CaptchaProviderFieldDescriptor with an empty value. When selected, this OptionValue indicates that the current default CAPTCHA provider plugin should be used.
-
-
Constructor Detail
-
CaptchaProviderFieldDescriptor
public CaptchaProviderFieldDescriptor(String name, String description)
Creates a new CaptchaProviderFieldDescriptor.- Parameters:
name- The field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor). This name will also be used as the label for the field in the administrative console. To ensure configuration can be read in future releases of a plugin, it is recommended to not change a field's name - instead use a label to rename it in the administrative console.description- The field description displayed in the administrative console.
-
-
Method Detail
-
getOptionValues
public List<AbstractSelectionFieldDescriptor.OptionValue> getOptionValues()
Gets the option values list- Overrides:
getOptionValuesin classAbstractSelectionFieldDescriptor- Returns:
- the option value list.
-
-