diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2008-08-28 15:36:08 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2008-08-28 15:36:08 +0000 |
commit | 5ddbf5215649893e677a8b2938e811d0b97bf4be (patch) | |
tree | 4a1393d4cf2e8df5e231c368b00325830f3b7b08 /qpid/java/client | |
parent | 29c3598e6d8e5ee8d49f43b65cb99086667612d5 (diff) | |
download | qpid-python-5ddbf5215649893e677a8b2938e811d0b97bf4be.tar.gz |
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@689854 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client')
-rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java index 21b63c1fdb..60e4a5960a 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java +++ b/qpid/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('@'); |