com.ibm.commerce.security.commands

Interface GenerateSaltCmd

  • 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:
    GenerateSaltCmdImpl


    public interface GenerateSaltCmd
    extends TaskCommand

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

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

    • setSaltLength

    After execution of this command, call the getSalt method to retrieve the generated salt value.

    • 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

      • getSalt

        java.lang.String getSalt()
        This method retrieves the generated Salt.
        Returns:
        The Salt.
      • setSaltLength

        void setSaltLength(int nSaltLength)
        This method sets the length of the salt to generate.
        Parameters:
        nSaltLength - The length of the salt.