jboss [how to access the admin console]

本文详细介绍了如何在 JBoss EAP 7.0 中使用 add-user.bat 脚本添加管理员用户,并设置了密码策略及权限组。通过此教程,读者可以学会如何正确配置管理控制台的访问权限。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

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

添加用户

F:\ee\jbossruntimes\jboss-eap-7.0\bin

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:\ee\jbossruntimes\jboss-eap-7.0\standalone\configuration\mgmt-users.properties'
Added user 'super' to file 'F:\ee\jbossruntimes\jboss-eap-7.0\domain\configuration\mgmt-users.properties'
Added user 'super' with groups  to file 'F:\ee\jbossruntimes\jboss-eap-7.0\standalone\configuration\mgmt-groups.properties'
Added user 'super' with groups  to file 'F:\ee\jbossruntimes\jboss-eap-7.0\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? 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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值