aspose file tools*
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
Author

Encrypt JMX console password

Shay Katz
Greenhorn

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(jmx-console-users.properties) is there any way to configure the jboss to encrypt this file? so the jmx-console-users.properties will contain encrypted username/password?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

Shay,

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: http://aspose.com/file-tools
 
subject: Encrypt JMX console password