com.ibm.commerce.security.commands
Interface GenerateSaltCmd
- All Superinterfaces:
- ECCommand, TaskCommand
- All Known Implementing Classes:
- GenerateSaltCmdImpl
- public interface GenerateSaltCmd
- extends TaskCommand
This task command will generated a salt of a specified length.
Before executing this task command the following set should be performed:
setSaltLength
Upon execution of this command the method getSalt should be called to
retrieve the generated salt value.
Method Summary |
java.lang.String |
getSalt()
Retrieve the Salt that was generated. |
void |
setSaltLength(int nSaltLength)
Sets the length of the salt that should be generated. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME
getSalt
public java.lang.String getSalt()
- Retrieve the Salt that was generated.
- Returns:
- The Salt.
setSaltLength
public void setSaltLength(int nSaltLength)
- Sets the length of the salt that should be generated.
- Parameters:
nSaltLength
- The length of the Salt.