com.ibm.commerce.security.commands
Interface GeneratePasswordCmd

All Superinterfaces:
ECCommand, 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
           
static java.lang.String defaultCommandClassName
           
static java.lang.String 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.
 
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

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.