Class EncodePasswordCommand
java.lang.Object
org.springframework.boot.cli.command.AbstractCommand
org.springframework.boot.cli.command.OptionParsingCommand
org.springframework.boot.cli.command.encodepassword.EncodePasswordCommand
- All Implemented Interfaces:
Command
Command to encode passwords for use with Spring Security.- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn some examples for the command.Returns usage help for the command.Methods inherited from class org.springframework.boot.cli.command.OptionParsingCommand
getHandler, getHelp, getOptionsHelp, runMethods inherited from class org.springframework.boot.cli.command.AbstractCommand
getDescription, getName
-
Constructor Details
-
EncodePasswordCommand
public EncodePasswordCommand()
-
-
Method Details
-
getUsageHelp
Description copied from interface:CommandReturns 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:
getUsageHelpin interfaceCommand- Overrides:
getUsageHelpin classAbstractCommand- Returns:
- the command's usage help
-
getExamples
Description copied from interface:CommandReturn some examples for the command.- Specified by:
getExamplesin interfaceCommand- Overrides:
getExamplesin classAbstractCommand- Returns:
- the command's examples
-