From f851d11bdc51dfcd5ca36d51bba3db43a655e657 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Thu, 28 Aug 2008 15:36:08 +0000 Subject: This is related to QPID-1208 I removed the code that prints the password when log level == debug. Instead now it will print "xxxx" for password irrespective of the log level. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@689854 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/qpid/client/AMQConnectionURL.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'java/client/src') diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java b/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java index 21b63c1fdb..60e4a5960a 100644 --- a/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java +++ b/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java @@ -237,14 +237,7 @@ public class AMQConnectionURL implements ConnectionURL if (_password != null) { sb.append(':'); - if (_logger.isDebugEnabled()) - { - sb.append(_password); - } - else - { - sb.append("********"); - } + sb.append("********"); } sb.append('@'); -- cgit v1.2.1