It's not a secret anymore!
The moose likes JBoss/WildFly and the fly likes Encrypt JMX console password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Encrypt JMX console password" Watch "Encrypt JMX console password" New topic

Encrypt JMX console password

Shay Katz

Joined: Apr 29, 2008
Posts: 3
Hi all,
I'm using the JMX console security as it written here.
Everything works fine and i'm getting a box for entering the username/password when i'm trying to get into: http://localhost:8080/jmx-console, but my question is:
The JMX console storing the username/password in a plain text file( is there any way to configure the jboss to encrypt this file? so the will contain encrypted username/password?
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441


Welcome to JavaRanch

Storing the username/password in properties file and authenticating is one way of securing the application. There are other places where you can store usrename and (encrypted) password. You can use DB authentication for doing this. There's a login module for doing DB authentication which even accepts a parameter for encrypting the user password. At present, i am unable to locate the JBoss documentation which has an example for this.

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Encrypt JMX console password
jQuery in Action, 3rd edition