Π¨Π°Π³ 1:
ΠΠ΅ΡΠ΅ΠΉΠ΄ΠΈΡΠ΅ ΠΊ Wildfly 18 Π² Π±ΠΈΠ½ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ ΠΈ ΠΎΡΠΊΡΡΡΡΠΉ add-user.bat ΡΠ°ΠΉΠ».
What type of user do you wish to add? a) Management User (mgmt-users.properties) b) Application User (application-users.properties)
Π¨Π°Π³ 2:
ΠΠ°ΠΆΠΌΠΈΡΠ΅ ΠΏΠ΅ΡΠ²ΡΡ ΠΎΠΏΡΠΈΡ Π² ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ ΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡ, ΡΡΠΎΠ±Ρ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π΄ΠΎΡΡΡΠΏ ΠΊ ΠΊΠΎΠ½ΡΠΎΠ»ΠΈ Wildfly.
Enter the details of the new user to add. Using realm 'ManagementRealm' as discovered from the existing property files. Username : opantazos
Π¨Π°Π³ 3:
Π‘Π»Π΅Π΄ΡΠΉΡΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΠΎΠ²Π°Π½Π½ΠΎΠΌΡ ΠΏΠ°ΡΠΎΠ»Π΅ΠΌ ΡΠ΅ΡΠ΅Π½ΠΈΡ.
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 : athens
WFLYDM0099: Password should have at least 8 characters! Are you sure you want to use the password entered yes/no? yes
Re-enter Password : athens
Π¨Π°Π³ 4:
ΠΠ±ΡΡΠ²ΠΈΡΠ΅ Π³ΡΡΠΏΠΏΡ, ΡΡΠΎ Π²Ρ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½Ρ ΠΊ Π½Π΅ΠΉ.
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[ ]: profile
About to add user 'opantazos' for realm 'ManagementRealm' Is this correct yes/no? yes
Added user 'opantazos' to file 'C:\Users\orest\OneDrive\Desktop\wildfly-18.0.1.Final\wildfly-18.0.1.Final\standalone\configuration\mgmt-users.properties' Added user 'opantazos' to file 'C:\Users\orest\OneDrive\Desktop\wildfly-18.0.1.Final\wildfly-18.0.1.Final\domain\configuration\mgmt-users.properties' Added user 'opantazos' with groups profile to file 'C:\Users\orest\OneDrive\Desktop\wildfly-18.0.1.Final\wildfly-18.0.1.Final\standalone\configuration\mgmt-groups.properties' Added user 'opantazos' with groups profile to file 'C:\Users\orest\OneDrive\Desktop\wildfly-18.0.1.Final\wildfly-18.0.1.Final\domain\configuration\mgmt-groups.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
Press any key to continue . . .
Π¨Π°Π³ 5:
ΠΠΎΡΡΡΠΏ ΠΊ ΠΊΠΎΠ½ΡΠΎΠ»ΠΈ Π΄ΠΈΠΊΠΎΠΉ ΠΊΠ°ΡΡΡ Π½Π° Π»ΠΎΠΊΠ°Π»ΡΠ½ΠΎΠΉ ΠΌΠ°ΡΠΈΠ½Π΅.
ΠΠΎΡΡΡΠΏ ΠΊ Π²Π΅Π± -ΠΊΠΎΠ½ΡΠΎΠ»ΠΈ Wildfly ΡΠ΅ΡΠ΅Π· Π²Π°ΡΠΈ ΡΡΠ΅ΡΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅, ΠΊΠΎΡΠΎΡΡΠ΅ Π²Ρ Π²Π²Π΅Π»ΠΈ ΡΠ°Π½Π΅Π΅ Π² ΡΠ΅ΠΆΠΈΠΌΠ΅ Bash Π² IP Π»ΠΎΠΊΠ°Π»ΡΠ½ΡΠΉ Π°Π΄ΡΠ΅Ρ http://localhost: 8080/ Π‘ ΠΈΠΌΠ΅Π½Π΅ΠΌ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ: Opantazos ΠΈ ΠΏΠ°ΡΠΎΠ»Ρ: ΠΡΠΈΠ½Ρ.
ΠΡΠΈΠ³ΠΈΠ½Π°Π»: «https://dev.to/orestispantazos/adding-users-on-wildfly-18-2962»