Package org.sourceid.saml20.adapter.gui
Class EncryptionCertificateFieldDescriptor
- 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
-
- org.sourceid.saml20.adapter.gui.EncryptionCertificateFieldDescriptor
-
- All Implemented Interfaces:
Serializable
public class EncryptionCertificateFieldDescriptor extends CertificateSelectionFieldDescriptor
A field descriptor that will render (in GUI configuration screen) a drop down selection of all the certificates in the PingFederate system configured for encryption by token generators.
The value of this field in theConfigurationwill be the alias of the selected certificate.
You can use the alias to retrieve the certificate viaKeyAccessor.
-
-
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 StringCERT_FEATURE_NAME-
Fields inherited from class org.sourceid.saml20.adapter.gui.CertificateSelectionFieldDescriptor
DEFAULT_SUBJECT_DN_LENGTH_FOR_DISPLAY
-
Fields inherited from class org.sourceid.saml20.adapter.gui.SelectFieldDescriptor
DEFAULT, SELECT_ONE
-
Fields inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
NONE_SELECTED
-
-
Constructor Summary
Constructors Constructor Description EncryptionCertificateFieldDescriptor(String name, String description, String certificateFeatureName)Creates a new EncryptionCertificateFieldDescriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCertificateFeatureName()Gets the name used to represent the group of certificates for this field.-
Methods inherited from class org.sourceid.saml20.adapter.gui.CertificateSelectionFieldDescriptor
getFormattedValue, getOptionValues
-
Methods inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
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
-
CERT_FEATURE_NAME
public static final String CERT_FEATURE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EncryptionCertificateFieldDescriptor
public EncryptionCertificateFieldDescriptor(String name, String description, String certificateFeatureName)
Creates a new EncryptionCertificateFieldDescriptor.- 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- A helpful description of the field.certificateFeatureName- The name of the group of certificates this field represents.
-
-
Method Detail
-
getCertificateFeatureName
public String getCertificateFeatureName()
Gets the name used to represent the group of certificates for this field.- Returns:
- The certificates' name.
-
-