Package com.netscape.cms.profile.input
Class SubjectAltNameExtInput
java.lang.Object
com.netscape.cms.profile.common.ProfileInput
com.netscape.cms.profile.input.EnrollInput
com.netscape.cms.profile.input.SubjectAltNameExtInput
- All Implemented Interfaces:
IConfigTemplate
This plugin populates text fields to the enrollment
page so that SAN parameters
can be collected from the user.
The collected parameters could be used for fomulating the SAN attributes in the certificate.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final int
static org.slf4j.Logger
static final String
static final String
Fields inherited from class com.netscape.cms.profile.input.EnrollInput
mConfig, mConfigNames, mProfile, mValueNames
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the localizable name of this policy.Retrieves the localizable description of this policy.getValueDescriptor
(Locale locale, String name) Retrieves the descriptor of the given value parameter by name.Returns selected value names based on the configuration.void
init
(Profile profile, ConfigStore config) Initializes this default policy.void
Populates the request with this policy default.Methods inherited from class com.netscape.cms.profile.input.EnrollInput
addConfigName, addValueName, auditSubjectID, getConfig, getConfigDescriptor, getConfigNames, getConfigStore, getDefaultConfig, getLocale, getValue, setConfig, setValue, verifyPOP
-
Field Details
-
logger
public static org.slf4j.Logger logger -
DEF_REQ_ENTRIES
public static final int DEF_REQ_ENTRIES- See Also:
-
CONFIG_SAN_REQ_PATTERN
- See Also:
-
CONFIG_SAN_REQ_TYPE
- See Also:
-
VAL_SAN_REQ_PATTERN
- See Also:
-
VAL_SAN_REQ_TYPE
- See Also:
-
-
Constructor Details
-
SubjectAltNameExtInput
public SubjectAltNameExtInput()
-
-
Method Details
-
init
Initializes this default policy.- Overrides:
init
in classEnrollInput
- Throws:
EProfileException
-
getName
Retrieves the localizable name of this policy.- Specified by:
getName
in classEnrollInput
- Parameters:
locale
- user locale- Returns:
- localized input name
-
getText
Retrieves the localizable description of this policy.- Specified by:
getText
in classEnrollInput
- Parameters:
locale
- user locale- Returns:
- localized input description
-
getValueNames
Returns selected value names based on the configuration.- Overrides:
getValueNames
in classEnrollInput
- Returns:
- a list of property names
-
populate
Populates the request with this policy default.- Specified by:
populate
in classEnrollInput
- Parameters:
ctx
- profile contextrequest
- request- Throws:
Exception
- failed to populate
-
getValueDescriptor
Retrieves the descriptor of the given value parameter by name.- Specified by:
getValueDescriptor
in classEnrollInput
- Parameters:
locale
- user localename
- property name- Returns:
- descriptor of the property
-