Class EncodePasswordCommand

All Implemented Interfaces:
Command

public class EncodePasswordCommand extends OptionParsingCommand
Command to encode passwords for use with Spring Security.
Since:
2.0.0
Author:
Phillip Webb
  • Constructor Details

    • EncodePasswordCommand

      public EncodePasswordCommand()
  • Method Details

    • getUsageHelp

      public String getUsageHelp()
      Description copied from interface: Command
      Returns usage help for the command. This should be a simple one-line string describing basic usage. e.g. '[options] <file>'. Do not include the name of the command in this string.
      Specified by:
      getUsageHelp in interface Command
      Overrides:
      getUsageHelp in class AbstractCommand
      Returns:
      the command's usage help
    • getExamples

      public Collection<HelpExample> getExamples()
      Description copied from interface: Command
      Return some examples for the command.
      Specified by:
      getExamples in interface Command
      Overrides:
      getExamples in class AbstractCommand
      Returns:
      the command's examples