Commit ba5576ce authored by Andre Freyssinet's avatar Andre Freyssinet

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

parent e0223d39
......@@ -110,7 +110,7 @@ public class OutboundConnectionFactory implements javax.jms.ConnectionFactory,
createConnection(String userName, String password) throws JMSException {
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, this + " createConnection(" + userName + ", " + password + ")");
logger.log(BasicLevel.DEBUG, this + " createConnection(" + userName + ", ****)");
try {
ConnectionRequest cxRequest = null;
......
......@@ -88,7 +88,7 @@ public class OutboundQueueConnectionFactory extends OutboundConnectionFactory im
public javax.jms.QueueConnection createQueueConnection(String userName, String password)
throws JMSException {
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, this + " createQueueConnection(" + userName + ", " + password + ")");
logger.log(BasicLevel.DEBUG, this + " createQueueConnection(" + userName + ", ****)");
try {
QueueConnectionRequest cxRequest =
......
......@@ -89,7 +89,7 @@ public class OutboundTopicConnectionFactory extends OutboundConnectionFactory im
throws JMSException {
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, this + " createTopicConnection(" + userName + ", " + password + ")");
logger.log(BasicLevel.DEBUG, this + " createTopicConnection(" + userName + ", ****)");
try {
TopicConnectionRequest cxRequest =
......
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