0 Replies Latest reply on Jan 11, 2012 11:39 AM by Eric Savidan

    twiddle & encrypted password

    Eric Savidan Newbie



      I'm using twiddle script to get information on my JBoss AS instance (v5.1.0 GA).


      I've encrypted password for security reasons :

      => My jmx-console security domain :


        <application-policy name="jmx-console">


            <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"


              <module-option name="usersProperties">props/jmx-console-users.properties</module-option>

              <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>

              <module-option name="hashAlgorithm">MD5</module-option>





      => My jmx-console-roles.properties :

      <admin user>=JBossAdmin,HttpInvoker,UpdateAttributeRole,InvokeOpRole


      => My jmx-console-users.properties :

      <admin user>=c6oxOsirkZKZry5NBbwZIQ==


      Then, connection to JMX console is OK but I can not find information about using encrypted password with twiddle.sh script.


      Do you know if it's possible to do that ?


      Thanks in advance for your help.




      PS : same problem to shutdown JBoss, for example :


      java -classpath $JBOSSCP org.jboss.Shutdown --shutdown \

                                        -s jnp://$JBOSS_BIND_ADDR:$JBOSS_JNP_PORT \

                                        -u $JBOSS_ADMIN_USER -p $JBOSS_ADMIN_PWD


      => In this case, $JBOSS_ADMIN_PWD is in clear text