public class GenerateSaltCmdImpl extends TaskCommandImpl implements GenerateSaltCmd
This task command will randomly generate a salt of a specified length.
Before executing this task command, invoke the following method:
setSaltLength
Upon execution of this command,call the method getSalt to retrieve the randomly generated salt. Error View Task: GenerateSaltErrorView
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ERRTASK_NAME
Error task name.
|
COPYRIGHT, defaultCommandClassName, NAME| Constructor and Description |
|---|
GenerateSaltCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSalt()
Retrieves the Salt that was generated.
|
void |
performExecute()
Generates a random salt of a specified length.
|
void |
setSaltLength(int nSaltLength)
Sets the length of the salt that should be generated.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String ERRTASK_NAME
public java.lang.String getSalt()
getSalt in interface GenerateSaltCmdpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void setSaltLength(int nSaltLength)
setSaltLength in interface GenerateSaltCmdnSaltLength - The length of the Salt.