public class ChangePasswordCommand
extends org.apache.karaf.shell.console.OsgiCommandSupport
| Modifier and Type | Field and Description |
|---|---|
protected String |
karafConfigDir |
protected String |
karafConfigPath |
protected String |
karafHome |
protected String |
password |
| Constructor and Description |
|---|
ChangePasswordCommand()
Instantiates a new change password command.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
doExecute() |
String |
getPassword()
Gets the password.
|
boolean |
isCreationAllowed() |
void |
setCreationAllowed(boolean creationAllowed) |
void |
setPassword(String password)
Sets the password.
|
protected String karafHome
protected String karafConfigDir
protected String password
protected String karafConfigPath
public ChangePasswordCommand()
protected Object doExecute() throws Exception
doExecute in class org.apache.karaf.shell.console.AbstractActionExceptionpublic String getPassword()
public void setPassword(String password)
password - the new passwordpublic boolean isCreationAllowed()
public void setCreationAllowed(boolean creationAllowed)
Copyright © 2013–2015 JBoss, a division of Red Hat. All rights reserved.