• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encrypt JMX console password

 
Shay Katz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic