summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2008-08-28 15:36:08 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2008-08-28 15:36:08 +0000
commitf851d11bdc51dfcd5ca36d51bba3db43a655e657 (patch)
tree6395311e331a5024545f2b7a6ee11c0d0f34a3ff
parent2a619248a25442bd64e2eb7b92244f9715978802 (diff)
downloadqpid-python-f851d11bdc51dfcd5ca36d51bba3db43a655e657.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/qpid@689854 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java9
1 files changed, 1 insertions, 8 deletions
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('@');