The `add-user` utility in previous versions of JBoss EAP 6 would display a misleading error message when an invalid username was entered. The messaged stated that a username must be alphanumeric, when in fact the utility had been modified to accept a subset of special symbols in usernames. The error message has been reconstructed to contain the list of acceptable symbols and users now see a more accurate error message when an invalid username is entered.
Description of problem:
User name should contain only alphanumeric characters, but I am able use '@' in user's name.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Navigate into $EAP_HOME/bin directory
2. run: bin]$ ./add-user.sh aaa@aaa asdasd@2
Added user 'aaa@aaa' to file '/home/pkremens/devel/jboss-eap-6.2/standalone/configuration/mgmt-users.properties'
Added user 'aaa@aaa' to file '/home/pkremens/devel/jboss-eap-6.2/domain/configuration/mgmt-users.properties'
* Error *
JBAS015239: Only alpha/numeric usernames accepted.
EAP is not complaining about aaa@aaa user
Darran, can you please look into this or reassign if you're not the right person for this?
After further investigation this is intended behaviour, a small subset of symbols are now accepted in the username. I am updating the error message on an invalid username to reflect this.
Verified on EAP 6.3.0.DR6.
Refactored release notes text and marked for inclusion in documentation.
Changed <literal></literal> tags in Doc Text to ticks (`) to fix Bug 1096865