Node Director
|
Implements the 'storepassword' director command storing database access credentials. More...
Public Member Functions | |
String | usage () |
return a one-line usage string | |
String | help () |
return a more verbose usage string (aka. | |
String[] | getOptDefinitions () |
return option definitions as used by Tools.getOpt() | |
synchronized void | run (Hashtable optvals) throws DirectorException |
run the command with the (pre-parsed) options optargs | |
Public Member Functions inherited from sfi.director.cli.CLICommand | |
void | setOptions (Hashtable opts) |
sets options from a hash as returned by Tools.getOpts(). | |
Options | getOptions () |
Hashtable | getOptionsHash () |
Implements the 'storepassword' director command storing database access credentials.
|
virtual |
return option definitions as used by Tools.getOpt()
Implements sfi.director.cli.CLICommand.
|
virtual |
|
virtual |
run the command with the (pre-parsed) options optargs
Implements sfi.director.cli.CLICommand.
References sfi.director.util.Credentials.addFileCredentials(), sfi.director.util.Credentials.FILE_CREDENTIALS, sfi.director.util.Credentials.FILE_TMP_CREDENTIALS, sfi.director.util.Setup.fileSeparator, sfi.director.util.Tools.findAuth(), sfi.director.util.Setup.hostname, and sfi.director.util.Setup.rcdir.
|
virtual |
return a one-line usage string
Implements sfi.director.cli.CLICommand.