Commit 15d48888 authored by Andre Freyssinet's avatar Andre Freyssinet

JORAM-334: Hides the password in the debug traces.

parent ba5576ce
......@@ -409,8 +409,8 @@ public abstract class AbstractConnectionFactory extends AdministeredObject {
*/
public javax.jms.XAConnection createXAConnection(String name, String password) throws javax.jms.JMSException {
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, "TcpConnectionFactory.createXAConnection(" + name + ',' + password
+ ") reliableClass=" + reliableClass);
logger.log(BasicLevel.DEBUG,
"TcpConnectionFactory.createXAConnection(" + name + ") reliableClass=" + reliableClass);
initIdentity(name, password);
XAConnection cnx = new XAConnection();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment