@Service(name="change-admin-password") @PerLookup public class ChangeAdminPasswordCommand extends LocalDomainCommand
domainDirParam| Constructor and Description |
|---|
ChangeAdminPasswordCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
executeCommand()
Execute the remote command using the parameters we've collected.
|
protected void |
validate()
Require the user to actually type the passwords unless they are in
the file specified by the --passwordfile option.
|
getDomainName, getDomainRootDir, getDomainsDir, initDomain, isThisDAS, prepare, setDomainNamecheckForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, getMasterPasswordFile, getPrevPid, getServerDirs, getServerPid, getUptime, isLocal, isRemote, isRestartable, isRunning, isRunning, isThisServer, loadAndVerifyKeystore, readFromMasterPasswordFile, resetServerDirs, setLocalPassword, setServerDirs, unsetLocalPassword, verifyMasterPassword, waitForRestartcheckHelp, execute, expandManPage, getBooleanOption, getBriefCommandUsage, getCommand, getCommand, getCommandScope, getCommandUsage, getManPage, getName, getOperandModel, getOption, getOptions, getPassword, getPassword, getProgramOptions, getSystemProperties, getSystemProperty, getUsage, initializeLogger, initializePasswords, inject, ok, parse, postConstruct, prevalidate, printExceptionStackTrace, processProgramOptions, quote, readPassword, setCommandScope, toString, usageOptionsprotected void validate()
throws org.glassfish.api.admin.CommandException,
org.glassfish.api.admin.CommandValidationException
validate in class LocalDomainCommandorg.glassfish.api.admin.CommandExceptionorg.glassfish.api.admin.CommandValidationExceptionprotected int executeCommand()
throws org.glassfish.api.admin.CommandException
executeCommand in class com.sun.enterprise.admin.cli.CLICommandorg.glassfish.api.admin.CommandExceptionCopyright © 2018 Eclipse Foundation. All rights reserved.