I'm wondering if I can pass a encrypted password to create a connection from connection factory:
| connection = connectionFactory.createConnection("username","encrypted_password");
|
My application-policy has been set up to use custom database login module which reads/writes encrypted/decrypted passwords to/from db.
I am finding a way to pass encrypted password rather than a clear text password.
any pointers?
Thanks
Madhu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048624#4048624
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048624
"njain15" wrote :
| One of the possible approach to fix the issue is to register a javax.jms.ExceptionListener with the JMS connection. This listener is notified whenever JMS system encounters any error with the connection. During call back, you should recreate the connection and all the associated JMS objects.
|
You should always do this (except for trivial uses of JMS).
The comments about ping are irrelevant. The reason for the IOE is at the
operating system level (and the read timeout).
Some operating systems will say that the read timed out and close the tcp/ip socket
when you change the clock because they use absolute time rather than relative time.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048615#4048615
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048615