Link to home
Start Free TrialLog in
Avatar of elimesika
elimesikaFlag for Israel

asked on

Jboss connection string encryption

HI

I am following http://learnertobeginner.blogspot.com/2010/07/how-to-use-encrypted-password-in-jboss.html to encrypt a connection string to the database.

All documentations I have seen claims that the same SecureIdentityLoginModule supports also decryption but no sample is provided nor the class documentation in http://docs.jboss.org/jbossas/javadoc/3.2.7/connector/org/jboss/resource/security/SecureIdentityLoginModule.html describes how to do that.

I need to know how to decrypt the password , please help.

Thanks


Avatar of ramazanyich
ramazanyich
Flag of Belgium image

what do you want to achieve ?
if you check code of securityIdentityLoginModule - it has private method decode() to decode encrypted password which you provided in your login xml file and to use decoded password to perform login to jboss.
Avatar of elimesika

ASKER

HI

I have a tool that enables the user to change his db user/password , so , when I am opening this tool, I need to fill the password field with the decrypted password because this tool connects to the database and may change / store other application configuration.
ASKER CERTIFIED SOLUTION
Avatar of ramazanyich
ramazanyich
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for your time.