com.ibm.commerce.security.commands
Interface GenerateSaltCmd

All Superinterfaces:
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
          Copyright field.
static java.lang.String defaultCommandClassName
          Default command implementation class.
static java.lang.String NAME
          Command 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.
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
Command name.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
Default command implementation class.
See Also:
Constant Field Values
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.