Skip to content

Instantly share code, notes, and snippets.

@mkuehle
Last active October 19, 2016 09:50
Show Gist options
  • Save mkuehle/7382ebbc95d097d760b3af95d2ac40b9 to your computer and use it in GitHub Desktop.
Save mkuehle/7382ebbc95d097d760b3af95d2ac40b9 to your computer and use it in GitHub Desktop.
Java EE WildFly Basic Authentication - WildFly Application User erstellen
MacBook-Markus:~ Markus$ wildfly-10.0.0.Final/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): b
Enter the details of the new user to add.
Using realm 'ApplicationRealm' as discovered from the existing property files.
Username : markus
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 :
WFLYDM0102: Password should have at least 1 non-alphanumeric symbol.
Are you sure you want to use the password entered yes/no? yes
Re-enter Password :
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[ ]: mygroup
About to add user 'markus' for realm 'ApplicationRealm'
Is this correct yes/no? yes
Added user 'markus' to file '/Users/Markus/wildfly-10.0.0.Final/standalone/configuration/application-users.properties'
Added user 'markus' to file '/Users/Markus/wildfly-10.0.0.Final/domain/configuration/application-users.properties'
Added user 'markus' with groups mygroup to file '/Users/Markus/wildfly-10.0.0.Final/standalone/configuration/application-roles.properties'
Added user 'markus' with groups mygroup to file '/Users/Markus/wildfly-10.0.0.Final/domain/configuration/application-roles.properties'
Is this new user going to be used for one AS process to connect to another AS process?
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
yes/no? no
MacBook-Markus:~ Markus$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment