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.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

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.