Author: rajith
Date: Thu Aug 28 08:36:08 2008
New Revision: 689854

URL: http://svn.apache.org/viewvc?rev=689854&view=rev
Log:
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.

Modified:
    
incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java

Modified: 
incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java?rev=689854&r1=689853&r2=689854&view=diff
==============================================================================
--- 
incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java
 (original)
+++ 
incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java
 Thu Aug 28 08:36:08 2008
@@ -237,14 +237,7 @@
             if (_password != null)
             {
                 sb.append(':');
-                if (_logger.isDebugEnabled())
-                {
-                    sb.append(_password);
-                }
-                else
-                {
-                    sb.append("********");
-                }
+                sb.append("********");
             }
 
             sb.append('@');


Reply via email to