com.ibm.commerce.security.commands

Interface GeneratePasswordCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    GeneratePasswordCmdImpl


    public interface GeneratePasswordCmd
    extends TaskCommand

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

    Before executing this task command, the following method should be performed:

    • setPasswordLength

    Upon execution of this command, call the method getPassword to retrieve the generated password.

    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The copyright field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default command implementation class.
        See Also:
        Constant Field Values
    • Method Detail

      • getPassword

        java.lang.String getPassword()
        This method retrieves the generatedpassword.
        Returns:
        The Password.
      • setPasswordLength

        void setPasswordLength(int nPasswordLength)
        This method sets the length of the password to generate.
        Parameters:
        nPasswordLength - The length of the Password.