You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/04/19 10:23:47 UTC
svn commit: r530322 -
/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/LdapPrincipal.java
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 ) +"']'";
}