0 Replies Latest reply on Mar 8, 2010 5:08 PM by Ian Link

    Securing access to JMX-Console

    Ian Link Newbie

      I am running JBoss 4.0.2 and want to secure the JMX-Console


      If I use simple clear text passwords in jmx-console-users.properties that it works fine.  However I need to use a secure password.  My login-config.xml now looks like this:


          <application-policy name = "jmx-console">
                <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
                   flag = "required">
                 <module-option name="hashAlgorithm">MD5</module-option>
               <module-option name="hashEncoding">base64</module-option>
                 <module-option name="hashUserPassword">true</module-option>   
                 <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
                 <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>


      and jmx-console-users.properties looks like this:




      However when I try to login it fails.  Is there something else I am missing or is there somewhere I can look to see what authentication errors are occuring?