|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.cms.profile.input.EnrollInput
public abstract class EnrollInput
This class implements the base enrollment input.
| Field Summary | |
|---|---|
protected IConfigStore |
mConfig
|
protected java.util.Vector |
mConfigNames
|
protected IProfile |
mProfile
|
protected ILogger |
mSignedAuditLogger
|
protected java.util.Vector |
mValueNames
|
| Constructor Summary | |
|---|---|
EnrollInput()
|
|
| Method Summary | |
|---|---|
void |
addConfigName(java.lang.String name)
|
void |
addValueName(java.lang.String name)
|
protected void |
audit(java.lang.String msg)
Signed Audit Log This method is inherited by all extended "CMSServlet"s, and is called to store messages to the signed audit log. |
protected java.lang.String |
auditSubjectID()
Signed Audit Log Subject ID This method is inherited by all extended "CMSServlet"s, and is called to obtain the "SubjectID" for a signed audit log message. |
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.util.Enumeration |
getConfigNames()
Returns a list of configuration parameter names. |
IConfigStore |
getConfigStore()
Returns configuration store. |
java.lang.String |
getDefaultConfig(java.lang.String name)
|
java.util.Locale |
getLocale(IRequest request)
|
abstract java.lang.String |
getName(java.util.Locale locale)
Retrieves the localizable name of this policy. |
abstract java.lang.String |
getText(java.util.Locale locale)
Retrieves the localizable description of this policy. |
java.lang.String |
getValue(java.lang.String name,
java.util.Locale locale,
IRequest request)
Retrieves value from the request. |
abstract IDescriptor |
getValueDescriptor(java.util.Locale locale,
java.lang.String name)
Retrieves the descriptor of the given value property by name. |
java.util.Enumeration |
getValueNames()
Retrieves a list of names of the value parameter. |
void |
init(IProfile profile,
IConfigStore config)
Initializes this default policy. |
abstract void |
populate(IProfileContext ctx,
IRequest request)
Populates the request with this policy default. |
void |
setConfig(java.lang.String name,
java.lang.String value)
Sets configuration parameter. |
void |
setValue(java.lang.String name,
java.util.Locale locale,
IRequest request,
java.lang.String value)
Sets the value of the given value parameter by name. |
void |
verifyPOP(java.util.Locale locale,
org.mozilla.jss.pkix.crmf.CertReqMsg certReqMsg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IConfigStore mConfig
protected java.util.Vector mValueNames
protected java.util.Vector mConfigNames
protected IProfile mProfile
protected ILogger mSignedAuditLogger
| Constructor Detail |
|---|
public EnrollInput()
| Method Detail |
|---|
public void init(IProfile profile,
IConfigStore config)
throws EProfileException
init in interface IProfileInputprofile - owner of this inputconfig - configuration store
EProfileException - failed to initializepublic IConfigStore getConfigStore()
IProfileInput
getConfigStore in interface IProfileInput
public abstract void populate(IProfileContext ctx,
IRequest request)
throws EProfileException
populate in interface IProfileInputctx - profile contextrequest - request
EProfileException - failed to populatepublic abstract java.lang.String getName(java.util.Locale locale)
getName in interface IProfileInputlocale - user locale
public abstract java.lang.String getText(java.util.Locale locale)
getText in interface IProfileInputlocale - user locale
public abstract IDescriptor getValueDescriptor(java.util.Locale locale,
java.lang.String name)
getValueDescriptor in interface IProfileInputlocale - user localename - property name
public void addValueName(java.lang.String name)
public java.util.Enumeration getValueNames()
getValueNames in interface IProfileInputpublic void addConfigName(java.lang.String name)
public java.util.Enumeration getConfigNames()
IConfigTemplate
getConfigNames in interface IConfigTemplate
public void setConfig(java.lang.String name,
java.lang.String value)
throws EPropertyException
IConfigTemplate
setConfig in interface IConfigTemplatename - parameter namevalue - parameter value
EPropertyException - failed to set parameterpublic java.lang.String getConfig(java.lang.String name)
IConfigTemplate
getConfig in interface IConfigTemplatepublic java.lang.String getDefaultConfig(java.lang.String name)
public java.lang.String getValue(java.lang.String name,
java.util.Locale locale,
IRequest request)
throws EProfileException
IProfileInput
getValue in interface IProfileInputname - property namelocale - user localerequest - request
EProfileException - failed to get value
public void setValue(java.lang.String name,
java.util.Locale locale,
IRequest request,
java.lang.String value)
throws EPropertyException
setValue in interface IProfileInputname - property namelocale - user localerequest - requestvalue - value
EPropertyExceptionpublic java.util.Locale getLocale(IRequest request)
public IDescriptor getConfigDescriptor(java.util.Locale locale,
java.lang.String name)
IConfigTemplate
getConfigDescriptor in interface IConfigTemplatelocale - user localename - configuration parameter name
public void verifyPOP(java.util.Locale locale,
org.mozilla.jss.pkix.crmf.CertReqMsg certReqMsg)
throws EProfileException
EProfileExceptionprotected void audit(java.lang.String msg)
msg - signed audit log messageprotected java.lang.String auditSubjectID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||