Package com.netscape.cms.profile.input
Class SubjectDNInput
java.lang.Object
com.netscape.cms.profile.common.ProfileInput
com.netscape.cms.profile.input.EnrollInput
com.netscape.cms.profile.input.SubjectDNInput
- All Implemented Interfaces:
IConfigTemplate
This plugin accepts subject DN from end user.
-
Field Summary
FieldsFields inherited from class com.netscape.cms.profile.input.EnrollInput
mConfig, mConfigNames, mProfile, mValueNames
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves configuration parameter by name.getConfigDescriptor
(Locale locale, String name) Returns the descriptors of configuration parameter.Retrieves 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.protected void
parseSubjectName
(org.mozilla.jss.netscape.security.x509.X500Name subj, org.mozilla.jss.netscape.security.x509.X509CertInfo info, Request req) void
Populates the request with this policy default.Methods inherited from class com.netscape.cms.profile.input.EnrollInput
addConfigName, addValueName, auditSubjectID, getConfigNames, getConfigStore, getDefaultConfig, getLocale, getValue, setConfig, setValue, verifyPOP
-
Field Details
-
logger
public static org.slf4j.Logger logger -
VAL_SUBJECT
- See Also:
-
-
Constructor Details
-
SubjectDNInput
public SubjectDNInput()
-
-
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
-
getConfig
Description copied from interface:IConfigTemplate
Retrieves configuration parameter by name.- Specified by:
getConfig
in interfaceIConfigTemplate
- Overrides:
getConfig
in classEnrollInput
- Returns:
- parameter
-
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
-
getConfigDescriptor
Description copied from interface:IConfigTemplate
Returns the descriptors of configuration parameter.- Specified by:
getConfigDescriptor
in interfaceIConfigTemplate
- Overrides:
getConfigDescriptor
in classEnrollInput
- Parameters:
locale
- user localename
- configuration parameter name- Returns:
- descriptor
-
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
-
parseSubjectName
protected void parseSubjectName(org.mozilla.jss.netscape.security.x509.X500Name subj, org.mozilla.jss.netscape.security.x509.X509CertInfo info, Request req) throws EProfileException - Throws:
EProfileException
-