Package com.netscape.cms.profile.input
Class FileSigningInput
- java.lang.Object
-
- com.netscape.cms.profile.common.ProfileInput
-
- com.netscape.cms.profile.input.EnrollInput
-
- com.netscape.cms.profile.input.FileSigningInput
-
- All Implemented Interfaces:
IConfigTemplate
public class FileSigningInput extends EnrollInput
This class implements the image input that collects a picture.- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDIGESTstatic java.lang.StringDIGEST_TYPEstatic org.slf4j.Loggerloggerstatic java.lang.StringSIZEstatic java.lang.StringTEXTstatic java.lang.StringURL-
Fields inherited from class com.netscape.cms.profile.input.EnrollInput
mConfig, mConfigNames, mProfile, mValueNames
-
-
Constructor Summary
Constructors Constructor Description FileSigningInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName(java.util.Locale locale)Retrieves the localizable name of this policy.java.lang.StringgetText(java.util.Locale locale)Retrieves the localizable description of this policy.IDescriptorgetValueDescriptor(java.util.Locale locale, java.lang.String name)Retrieves the descriptor of the given value parameter by name.voidinit(Profile profile, IConfigStore config)Initializes this default policy.voidpopulate(java.util.Map<java.lang.String,java.lang.String> ctx, IRequest request)Populates the request with this policy default.java.lang.StringtoHexString(byte[] data)-
Methods inherited from class com.netscape.cms.profile.input.EnrollInput
addConfigName, addValueName, auditSubjectID, getConfig, getConfigDescriptor, getConfigNames, getConfigStore, getDefaultConfig, getLocale, getValue, getValueNames, setConfig, setValue, verifyPOP
-
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
URL
public static final java.lang.String URL
- See Also:
- Constant Field Values
-
TEXT
public static final java.lang.String TEXT
- See Also:
- Constant Field Values
-
SIZE
public static final java.lang.String SIZE
- See Also:
- Constant Field Values
-
DIGEST
public static final java.lang.String DIGEST
- See Also:
- Constant Field Values
-
DIGEST_TYPE
public static final java.lang.String DIGEST_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(Profile profile, IConfigStore config) throws EProfileException
Initializes this default policy.- Overrides:
initin classEnrollInput- Throws:
EProfileException
-
getName
public java.lang.String getName(java.util.Locale locale)
Retrieves the localizable name of this policy.- Specified by:
getNamein 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:
getTextin classEnrollInput- Parameters:
locale- user locale- Returns:
- localized input description
-
toHexString
public java.lang.String toHexString(byte[] data)
-
populate
public void populate(java.util.Map<java.lang.String,java.lang.String> ctx, IRequest request) throws java.lang.ExceptionPopulates the request with this policy default.- Specified by:
populatein classEnrollInput- Parameters:
ctx- profile contextrequest- request- Throws:
java.lang.Exception- failed to populate
-
getValueDescriptor
public IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
Retrieves the descriptor of the given value parameter by name.- Specified by:
getValueDescriptorin classEnrollInput- Parameters:
locale- user localename- property name- Returns:
- descriptor of the property
-
-