[jboss-dev-forums] Query regarding JBoss JCA

priyanka.maheshwari at wipro.com priyanka.maheshwari at wipro.com
Thu Jul 24 23:38:01 EDT 2008


Hi Everybody,
 
My Requirement:
1. Remove the usage of cleartext password from mysql-ds.xml 
2. Use the custom password manager to retrieve the password
 
Given Solution by extending the SecureIdentityLoginModule:
JBoss connector API's provides SecureIdentityLoginModule to encrypt
database passwords rather than using clear text passwords in the
datasource configuration. I have implemented a custom login module by
extending this class and overridden the commit method, which will call
password manager to retrieve the password.
 
Problem:
By going thru the above approach of custom login module, JBoss JCA takes
~25 milliseconds to return the connection. And this 25 milliseconds
doesn't count the time to call password manager. But if I don't use
cleartext password, it takes hardly 1 millisecond.
 
I want to understand:
1. How JCA works when login module is used which takes ~25 milliseconds.

2. Is there any way I can configure JBoss JCA to verify the password
only for the 1st time, and for the subsequent calls, it just returns the
connection directly from connection pool to reduce the time taken to ~1
milliseconds.
 
Regards,
Priyanka

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20080725/9d4ab681/attachment.html 


More information about the jboss-dev-forums mailing list