public class AddUser extends PasswordAction
context, verbose| Constructor and Description |
|---|
AddUser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(String hash,
String... role)
Adding a new user
|
Object |
execute(ActionContext context) |
checkInputPassword, setPasswordcheckInputRole, checkInputUser, getConfiguration, setRole, setUsernameinput, inputPassword, isSilentInput, setSilentInputgetBrokerHome, getBrokerInstance, getBrokerURIInstance, isVerbose, setHomeValuespublic Object execute(ActionContext context) throws Exception
execute in interface Actionexecute in class InputAbstractExceptionprotected void add(String hash, String... role) throws Exception
hash - the passwordrole - the roleIllegalArgumentException - if user existsExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.