1 Reply Latest reply on Aug 7, 2008 5:26 AM by erasmo2 marciano2

    Deploy JBoss Admin console

    Savita Kadekodi Newbie

      How to deploy JBoss admin console so that it can be used to tune the run-time parameters of JBoss and/or the deployed servlets, and to configure basic authentication users ?

        • 1. Re: Deploy JBoss Admin console
          erasmo2 marciano2 Master

          HI,
          For configure basic authentication users, you modify web.xml of your enable:


          A security constraint that restricts access to the HTML JMX console
          to users with the role JBossAdmin. Edit the roles to what you want and
          uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
          secured access to the HTML JMX console




          1) you have to create two properties file at path ../conf
          the first file ROLES:
          Second file USERS


          2) you edit login-config.xm
          add the following code

          <application-policy name = "_____your web-app">
           <authentication>
           <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
           flag = "required">
           <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
           <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
           </login-module>
           </authentication>
           </application-policy