public class SubjectDNInput extends EnrollInput
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
static java.lang.String |
VAL_SUBJECT |
mConfig, mConfigNames, mProfile, mValueNames| Constructor and Description |
|---|
SubjectDNInput() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConfig(java.lang.String name)
Retrieves configuration parameter by name.
|
IDescriptor |
getConfigDescriptor(java.util.Locale locale,
java.lang.String name)
Returns the descriptors of configuration parameter.
|
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.
|
java.util.Enumeration<java.lang.String> |
getValueNames()
Returns selected value names based on the configuration.
|
void |
init(Profile profile,
IConfigStore config)
Initializes this default policy.
|
protected void |
parseSubjectName(org.mozilla.jss.netscape.security.x509.X500Name subj,
org.mozilla.jss.netscape.security.x509.X509CertInfo info,
IRequest req) |
void |
populate(java.util.Map<java.lang.String,java.lang.String> ctx,
IRequest request)
Populates the request with this policy default.
|
addConfigName, addValueName, auditSubjectID, getConfigNames, getConfigStore, getDefaultConfig, getLocale, getValue, setConfig, setValue, verifyPOPpublic static org.slf4j.Logger logger
public static final java.lang.String VAL_SUBJECT
public void init(Profile profile, IConfigStore config) throws EProfileException
init in class EnrollInputEProfileExceptionpublic java.lang.String getName(java.util.Locale locale)
getName in class EnrollInputlocale - user localepublic java.lang.String getText(java.util.Locale locale)
getText in class EnrollInputlocale - user localepublic java.lang.String getConfig(java.lang.String name)
IConfigTemplategetConfig in interface IConfigTemplategetConfig in class EnrollInputpublic java.util.Enumeration<java.lang.String> getValueNames()
getValueNames in class EnrollInputpublic void populate(java.util.Map<java.lang.String,java.lang.String> ctx,
IRequest request)
throws java.lang.Exception
populate in class EnrollInputctx - profile contextrequest - requestjava.lang.Exception - failed to populatepublic IDescriptor getConfigDescriptor(java.util.Locale locale, java.lang.String name)
IConfigTemplategetConfigDescriptor in interface IConfigTemplategetConfigDescriptor in class EnrollInputlocale - user localename - configuration parameter namepublic IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
getValueDescriptor in class EnrollInputlocale - user localename - property nameprotected void parseSubjectName(org.mozilla.jss.netscape.security.x509.X500Name subj,
org.mozilla.jss.netscape.security.x509.X509CertInfo info,
IRequest req)
throws EProfileException
EProfileException