Package com.netscape.cms.profile.input
Class ServerKeygenInput
- java.lang.Object
-
- com.netscape.cms.profile.common.ProfileInput
-
- com.netscape.cms.profile.input.EnrollInput
-
- com.netscape.cms.profile.input.ServerKeygenInput
-
- All Implemented Interfaces:
IConfigTemplate
public class ServerKeygenInput extends EnrollInput
This class implements input for the Server-Side Keygen Enrollment- Author:
- Christina Fu
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEY_SIZE
static java.lang.String
KEY_TYPE
static java.lang.String
P12PASSWORD
-
Fields inherited from class com.netscape.cms.profile.input.EnrollInput
logger, mConfig, mConfigNames, mProfile, mValueNames
-
-
Constructor Summary
Constructors Constructor Description ServerKeygenInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConfig(java.lang.String name)
Retrieves configuration parameter by name.java.lang.String
getName(java.util.Locale locale)
Retrieves the localizable name of this policy.java.lang.String
getText(java.util.Locale locale)
Retrieves the localizable description of this policy.IDescriptor
getValueDescriptor(java.util.Locale locale, java.lang.String name)
Retrieves the descriptor of the given value parameter by name.void
init(Profile profile, IConfigStore config)
Initializes this default policy.void
populate(java.util.Map<java.lang.String,java.lang.String> ctx, IRequest request)
Populates the request with this policy default.-
Methods inherited from class com.netscape.cms.profile.input.EnrollInput
addConfigName, addValueName, auditSubjectID, getConfigDescriptor, getConfigNames, getConfigStore, getDefaultConfig, getLocale, getValue, getValueNames, setConfig, setValue, verifyPOP
-
-
-
-
Field Detail
-
P12PASSWORD
public static final java.lang.String P12PASSWORD
- See Also:
- Constant Field Values
-
KEY_TYPE
public static final java.lang.String KEY_TYPE
- See Also:
- Constant Field Values
-
KEY_SIZE
public static final java.lang.String KEY_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(Profile profile, IConfigStore config) throws EProfileException
Initializes this default policy.- Overrides:
init
in classEnrollInput
- Throws:
EProfileException
-
getName
public java.lang.String getName(java.util.Locale locale)
Retrieves the localizable name of this policy.- Specified by:
getName
in classEnrollInput
- Parameters:
locale
- user locale- Returns:
- localized input name
-
getText
public java.lang.String getText(java.util.Locale locale)
Retrieves the localizable description of this policy.- Specified by:
getText
in classEnrollInput
- Parameters:
locale
- user locale- Returns:
- localized input description
-
getConfig
public java.lang.String getConfig(java.lang.String name)
Description copied from interface:IConfigTemplate
Retrieves configuration parameter by name.- Specified by:
getConfig
in interfaceIConfigTemplate
- Overrides:
getConfig
in classEnrollInput
- Returns:
- parameter
-
populate
public void populate(java.util.Map<java.lang.String,java.lang.String> ctx, IRequest request) throws EProfileException
Populates the request with this policy default.- Specified by:
populate
in classEnrollInput
- Parameters:
ctx
- profile contextrequest
- request- Throws:
EProfileException
-
getValueDescriptor
public IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
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
-
-