Package org.sourceid.saml20.adapter.gui
Class CertificateSelectionFieldDescriptor
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.CertificateSelectionFieldDescriptor
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClientCertKeypairFieldDescriptor,DsigKeypairFieldDescriptor,EncryptionCertificateFieldDescriptor,TrustedCAFieldDescriptor
A field descriptor that will render (in GUI configuration screen) a drop down selection of certificates
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
AbstractSelectionFieldDescriptor.OptionValueNested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
FieldDescriptor.FieldValidationWrapper -
Field Summary
FieldsFields inherited from class org.sourceid.saml20.adapter.gui.SelectFieldDescriptor
DEFAULT, SELECT_ONEFields inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
NONE_SELECTED -
Constructor Summary
ConstructorsConstructorDescriptionCertificateSelectionFieldDescriptor(String name, String description) Create a new CertificateSelectionFieldDescriptor. -
Method Summary
Modifier and TypeMethodDescriptiongetFormattedValue(String value) Gets the option name (un-truncated) associated with the specified value.Gets the option values listMethods inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
setOptionValuesMethods inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
addValidator, addValidator, getDefaultForLegacyConfig, getDefaultValue, getDescription, getLabel, getName, getValidationChain, isHidden, setDefaultForLegacyConfig, setDefaultValue, setHidden, setLabel
-
Field Details
-
DEFAULT_SUBJECT_DN_LENGTH_FOR_DISPLAY
public static final int DEFAULT_SUBJECT_DN_LENGTH_FOR_DISPLAY- See Also:
-
-
Constructor Details
-
CertificateSelectionFieldDescriptor
Create a new CertificateSelectionFieldDescriptor.- 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 Details
-
getOptionValues
Gets the option values list- Overrides:
getOptionValuesin classAbstractSelectionFieldDescriptor- Returns:
- the option value list.
-
getFormattedValue
Gets the option name (un-truncated) associated with the specified value.- Overrides:
getFormattedValuein classAbstractSelectionFieldDescriptor- Parameters:
value- The option value.- Returns:
- A String representing the option name that is paired with the specified option value.
-