什么是Jboss EAP 6的默认管理控制台密码

Mad*_*han 12 jboss jboss6.x jboss7.x

什么是Jboss EAP 6的默认管理控制台密码..?

它不允许我看到没有密码的管理控制台.我也找不到配置页面.

请指教.

小智 12

  1. 转到JBOSS_HOME\bin,运行add-user脚本,添加一个管理用户

    您希望添加哪种类型的用户?

    a)管理用户(mgmt-users.properties)

    b)应用程序用户(application-users.properties)

    (a):a

    输入要添加的新用户的详细信息.

    领域(ManagementRealm):ManagementRealm

    用户名:yourname

    密码:你的密码

  2. 成功添加用户后,您将获得一个秘密值

    To represent the user add the following to the server-identities definition <secret value="*somevalue*" />
    
    Run Code Online (Sandbox Code Playgroud)
  3. 将此秘密添加到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)
  4. 您可以使用新添加的用户名和密码登录管理控制台


ami*_*yan 10

你需要添加一个用户来访问JBoss中的管理控制台,这样做..

  1. 转到JBOSS_HOME\bin
  2. 运行add-user脚本
  3. 添加为管理用户.

您已准备好访问http:// {localhost:9990}的管理控制台.希望能帮助到你.