public class PasswordParameter extends ParameterImpl
Constructor and Description |
---|
PasswordParameter(java.lang.String property,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
decrypt() |
java.lang.String |
encrypt() |
com.hof.util.CryptoHelperSimple |
getCryptoHelper(java.lang.String value) |
java.lang.String |
getValue() |
void |
setCryptoHelper(com.hof.util.CryptoHelperSimple helper) |
void |
setValue(java.lang.String value) |
addDisplayRule, addEventData, addEventParameter, addEventParameter, addEventParameter, addParameterValueDisplay, addPossibleValue, addPossibleValue, addPossibleValue, addPossibleValue, addValueDependency, addValueDependency, addValueDependency, addViewOption, getAllowEnableDisableCallback, getCssRules, getDataType, getDefaultValue, getDescription, getDisplayRules, getDynamicKey, getEvent, getEventData, getEventParameters, getHelpText, getInputType, getListOptions, getMaxAllowed, getMinAllowed, getName, getObjectValidationRules, getParameterClassName, getParameterValueDisplays, getPossibleValues, getProperty, getSpecialInputType, getValidationRules, getValueDependencies, getViewOptions, isList, isReadOnly, setAllowEnableDisableCallback, setCssRules, setDataType, setDefaultValue, setDescription, setDisplayRules, setDynamicKey, setEvent, setEventData, setEventParameters, setHelpText, setInputType, setList, setListOptions, setMaxAllowed, setMinAllowed, setName, setObjectValidationRules, setParameterClassName, setPossibleValues, setProperty, setReadOnly, setSpecialInputType, setValidationRules, setValueDependencies, setViewOptions
public PasswordParameter(java.lang.String property, java.lang.String value)
property
- - Used to identify the password parametervalue
- - The current value of the parameter. It may be encrypted or not.public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.String decrypt() throws java.lang.Exception
java.lang.Exception
public java.lang.String encrypt() throws java.lang.Exception
java.lang.Exception
public com.hof.util.CryptoHelperSimple getCryptoHelper(java.lang.String value) throws java.lang.Exception
java.lang.Exception
public void setCryptoHelper(com.hof.util.CryptoHelperSimple helper)