NO-JIRA fix user command parameter docs

This commit is contained in:
Justin Bertram 2020-02-05 08:36:16 -06:00
parent 1481b87b64
commit fb60795b59
6 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ import org.apache.commons.lang3.StringUtils;
/** /**
* Adding a new user, example: * Adding a new user, example:
* ./artemis user add --username guest --role admin --password *** * ./artemis user add --user guest --role admin --password ***
*/ */
@Command(name = "add", description = "Add a new user") @Command(name = "add", description = "Add a new user")
public class AddUser extends PasswordAction { public class AddUser extends PasswordAction {

View File

@ -25,7 +25,7 @@ import org.apache.activemq.artemis.spi.core.security.jaas.PropertiesLoginModuleC
/** /**
* list existing users, example: * list existing users, example:
* ./artemis user list --username guest * ./artemis user list --user guest
*/ */
@Command(name = "list", description = "List existing user(s)") @Command(name = "list", description = "List existing user(s)")
public class ListUser extends UserAction { public class ListUser extends UserAction {

View File

@ -22,7 +22,7 @@ import org.apache.activemq.artemis.spi.core.security.jaas.PropertiesLoginModuleC
/** /**
* Remove a user, example: * Remove a user, example:
* ./artemis user rm --username guest * ./artemis user rm --user guest
*/ */
@Command(name = "rm", description = "Remove an existing user") @Command(name = "rm", description = "Remove an existing user")
public class RemoveUser extends UserAction { public class RemoveUser extends UserAction {

View File

@ -25,7 +25,7 @@ import org.apache.commons.lang3.StringUtils;
/** /**
* Reset a user's password or roles, example: * Reset a user's password or roles, example:
* ./artemis user reset --username guest --role admin --password *** * ./artemis user reset --user guest --role admin --password ***
*/ */
@Command(name = "reset", description = "Reset user's password or roles") @Command(name = "reset", description = "Reset user's password or roles")
public class ResetUser extends PasswordAction { public class ResetUser extends PasswordAction {

View File

@ -103,7 +103,7 @@ add the user/password to. This command will not work from the Artemis home
used to create the instance. For example: used to create the instance. For example:
```sh ```sh
./artemis user add --username guest --password guest --role admin ./artemis user add --user guest --password guest --role admin
``` ```
This will use the default codec to perform a "one-way" hash of the password This will use the default codec to perform a "one-way" hash of the password

View File

@ -538,7 +538,7 @@ follow the syntax `ENC(<hash>)`. Hashed passwords can easily be added to
*instance*. This command will not work from the Artemis home. *instance*. This command will not work from the Artemis home.
```sh ```sh
./artemis user add --username guest --password guest --role admin ./artemis user add --user guest --password guest --role admin
``` ```
This will use the default codec to perform a "one-way" hash of the password This will use the default codec to perform a "one-way" hash of the password