directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r530322 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/LdapPrincipal.java
Date Thu, 19 Apr 2007 08:23:47 GMT
Author: elecharny
Date: Thu Apr 19 01:23:46 2007
New Revision: 530322

URL: http://svn.apache.org/viewvc?view=rev&rev=530322
Log:
Improved the ToString method

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/LdapPrincipal.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/LdapPrincipal.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/LdapPrincipal.java?view=diff&rev=530322&r1=530321&r2=530322
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/LdapPrincipal.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/LdapPrincipal.java
Thu Apr 19 01:23:46 2007
@@ -27,6 +27,7 @@
 
 import org.apache.directory.shared.ldap.aci.AuthenticationLevel;
 import org.apache.directory.shared.ldap.name.LdapDN;
+import org.apache.directory.shared.ldap.util.StringTools;
 
 
 /**
@@ -135,7 +136,7 @@
      */
     public String toString()
     {
-        return name.toString();
+        return "['" + name.getUpName() + "', '" + StringTools.utf8ToString( userPassword
) +"']'";
     }
 
 



Mime
View raw message