jboss [how to access the admin console]

However you have not yet added any users to be able to access the admin console.

进入%EAP_HOME%/bin 执行add-user.bat

添加用户

F:eejbossruntimesjboss-eap-7.0in

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 : super
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 :
WFLYDM0098: The password should be different from the username
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)[  ]:
About to add user 'super' for realm 'ManagementRealm'
Is this correct yes/no? yes
Added user 'super' to file 'F:eejbossruntimesjboss-eap-7.0standaloneconfigurationmgmt-users.properties'
Added user 'super' to file 'F:eejbossruntimesjboss-eap-7.0domainconfigurationmgmt-users.properties'
Added user 'super' with groups  to file 'F:eejbossruntimesjboss-eap-7.0standaloneconfigurationmgmt-groups.properties'
Added user 'super' with groups  to file 'F:eejbossruntimesjboss-eap-7.0domainconfigurationmgmt-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? yes
To represent the user add the following to the server-identities definition <secret value="c3VwZXI=" />
Press any key to continue . . .

ps:mgmt-users.properties

means users for the realm 'ManagementRealm'

登录

原文地址:https://www.cnblogs.com/zno2/p/5968795.html