directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r471426 - /directory/branches/apacheds-schema/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java
Date Sun, 05 Nov 2006 13:49:38 GMT
Author: elecharny
Date: Sun Nov  5 05:49:38 2006
New Revision: 471426

URL: http://svn.apache.org/viewvc?view=rev&rev=471426
Log:
Fixed issue DIRSERVER-773 (UTF-8 String decoding missing)

Modified:
    directory/branches/apacheds-schema/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java

Modified: directory/branches/apacheds-schema/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds-schema/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java?view=diff&rev=471426&r1=471425&r2=471426
==============================================================================
--- directory/branches/apacheds-schema/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java
(original)
+++ directory/branches/apacheds-schema/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java
Sun Nov  5 05:49:38 2006
@@ -38,6 +38,7 @@
 import org.apache.directory.server.core.configuration.SyncConfiguration;
 import org.apache.directory.server.core.partition.PartitionNexusProxy;
 import org.apache.directory.shared.ldap.name.LdapDN;
+import org.apache.directory.shared.ldap.util.StringTools;
 
 
 /**
@@ -184,7 +185,7 @@
         }
         else if ( value instanceof String )
         {
-            credential = ( ( String ) value ).getBytes();
+            credential = StringTools.getBytesUtf8( (String)value );
         }
         else if ( value instanceof byte[] )
         {



Mime
View raw message