[jboss-jira] [JBoss JIRA] (WFCORE-2877) The add-user script doesn't prompt when updating a user
Jan Kalina (JIRA)
issues at jboss.org
Fri May 26 08:09:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Kalina moved JBEAP-11166 to WFCORE-2877:
--------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-2877 (was: JBEAP-11166)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
(was: Security)
> The add-user script doesn't prompt when updating a user
> -------------------------------------------------------
>
> Key: WFCORE-2877
> URL: https://issues.jboss.org/browse/WFCORE-2877
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Jan Kalina
> Assignee: Jan Kalina
> Priority: Blocker
>
> The add-user script is not prompting when entering a username that already exists (to update a user). It automatically overwrites the existing user information. This is what I see when I enter the username "test", which already exists:
> {code}
> [ahoffer at ahoffer bin] $ ./add-user.sh
> What type of user do you wish to add?
> a) Management User (mgmt-users.properties)
> b) Application User (application-users.properties)
> (a):
> Enter the details of the new user to add.
> Using realm 'ManagementRealm' as discovered from the existing property files.
> Username : test
> Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file.
> - The password should be different from the username
> - The password should not be one of the following restricted values {root, admin, administrator}
> - The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
> Password :
> {code}
> Before I get asked for a password, I should see the following prompt for this existing user:
> {code}
> User 'test' already exists and is enabled, would you like to...
> a) Update the existing user password and roles
> b) Disable the existing user
> c) Type a new username
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list