Mad*_*han 12 jboss jboss6.x jboss7.x
什么是Jboss EAP 6的默认管理控制台密码..?
它不允许我看到没有密码的管理控制台.我也找不到配置页面.
请指教.
小智 12
转到JBOSS_HOME\bin,运行add-user脚本,添加一个管理用户
您希望添加哪种类型的用户?
a)管理用户(mgmt-users.properties)
b)应用程序用户(application-users.properties)
(a):a
输入要添加的新用户的详细信息.
领域(ManagementRealm):ManagementRealm
用户名:yourname
密码:你的密码
成功添加用户后,您将获得一个秘密值
To represent the user add the following to the server-identities definition <secret value="*somevalue*" />
Run Code Online (Sandbox Code Playgroud)将此秘密添加到JBOSS_HOME\domain\configuration\host.xml
<security-realm name="ManagementRealm">
<authentication>
<local default-user="$local" />
<properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
</authentication>
<server-identities>
<secret value="*somevalue*" />
</server-identities>
</security-realm>
Run Code Online (Sandbox Code Playgroud)您可以使用新添加的用户名和密码登录管理控制台
ami*_*yan 10
你需要添加一个用户来访问JBoss中的管理控制台,这样做..
您已准备好访问http:// {localhost:9990}的管理控制台.希望能帮助到你.
归档时间: |
|
查看次数: |
55057 次 |
最近记录: |