Solved

Jboss connection string encryption

Posted on 2010-11-10
4
1,217 Views
Last Modified: 2013-12-02
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


0
Comment
Question by:elimesika
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:ramazanyich
ID: 34107669
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.
0
 
LVL 19

Author Comment

by:elimesika
ID: 34110978
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.
0
 
LVL 19

Accepted Solution

by:
ramazanyich earned 500 total points
ID: 34124385
I'm afraid that in that case you will need to decrypt it yourself (check the source code of securityIdentityLoginModule and you can copy decode method from there)
0
 
LVL 19

Author Closing Comment

by:elimesika
ID: 34134195
Thanks for your time.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 90
Scripting vs. Programming languages 25 151
eclipse argument 14 53
varialbe initialization 11 30
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now