com.ibm.commerce.security.commands
Interface GeneratePasswordCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
GeneratePasswordCmdImpl

public interface GeneratePasswordCmd
extends TaskCommand

This task command will generated a password of a specified length.

Before executing this task command the following set should be performed:

    setPasswordLength

Upon execution of this command the method getPassword should be called to retrieve the generated password.


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 getPassword()
          Retrieve the password that was generated.
 void setPasswordLength(int nPasswordLength)           Sets the length of the password 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

getPassword

public java.lang.String getPassword()
Retrieve the password that was generated.
Returns:
The Password.

setPasswordLength

public void setPasswordLength(int nPasswordLength)
Sets the length of the password that should be generated.
Parameters:
nPasswordLength - The length of the Passwod.