Node Director
|
Implements the 'passwd' director command changing user passwords. 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() | |
String | noechoPrompt (String prompt) throws DirectorException |
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 () |
Protected Member Functions | |
void | finalize () |
Implements the 'passwd' director command changing user passwords.
|
protected |
References sfi.director.util.Tools.execWait().
|
virtual |
return option definitions as used by Tools.getOpt()
Implements sfi.director.cli.CLICommand.
|
virtual |
String sfi.director.cli.passwd.noechoPrompt | ( | String | prompt | ) | throws DirectorException |
References sfi.director.util.Tools.execWait().
Referenced by sfi.director.cli.passwd.run().
|
virtual |
run the command with the (pre-parsed) options optargs
Implements sfi.director.cli.CLICommand.
References sfi.director.application.AdminServer.contactAdminServer(), sfi.director.util.Tools.exit(), sfi.director.util.Credentials.getCredentials(), sfi.director.util.Credentials.getPassword(), sfi.director.util.Credentials.getPrincipal(), sfi.director.util.Setup.masterhost, sfi.director.cli.passwd.noechoPrompt(), and sfi.director.util.Init.setup_cli().
|
virtual |
return a one-line usage string
Implements sfi.director.cli.CLICommand.