Π ΡƒΠ±Ρ€ΠΈΠΊΠΈ
Uncategorized

πŸ•Ά Π”ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠ΅ ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»Π΅ΠΉ Π² Wildfly 18

Π¨Π°Π³ 1: ΠŸΠ΅Ρ€Π΅ΠΉΠ΄ΠΈΡ‚Π΅ ΠΊ Wildfly 18 Π² ΠΊΠ°Ρ‚Π°Π»ΠΎΠ³ bin ΠΈ ΠΎΡ‚ΠΊΡ€ΠΎΠΉΡ‚Π΅ Ρ„Π°ΠΉΠ» add-user.bat. Какой Ρ‚ΠΈΠΏ ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»Ρ D … с ΠΌΠ΅Ρ‚ΠΊΠΎΠΉ DevOps, Wildfly, Java.

Π¨Π°Π³ 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»