directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r491676 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java
Date Mon, 01 Jan 2007 23:06:11 GMT
Author: elecharny
Date: Mon Jan  1 15:06:10 2007
New Revision: 491676

URL: http://svn.apache.org/viewvc?view=rev&rev=491676
Log:
Imporved the way credentials are dumped if a call to toString() is done

Modified:
    directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java?view=diff&rev=491676&r1=491675&r2=491676
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java
(original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java
Mon Jan  1 15:06:10 2007
@@ -21,6 +21,7 @@
 
 
 import org.apache.directory.shared.ldap.util.ArrayUtils;
+import org.apache.directory.shared.ldap.util.StringTools;
 
 
 /**
@@ -145,7 +146,7 @@
 
         if ( serverSaslCreds != null )
         {
-            sb.append( "        Server sasl credentials : '" ).append( serverSaslCreds.toString()
).append( "'\n" );
+            sb.append( "        Server sasl credentials : '" ).append( StringTools.dumpBytes(
serverSaslCreds ) ).append( "'\n" );
         }
 
         return sb.toString();



Mime
View raw message