directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r471434 - /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java
Date Sun, 05 Nov 2006 14:19:34 GMT
Author: elecharny
Date: Sun Nov  5 06:19:34 2006
New Revision: 471434

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

Modified:
    directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java?view=diff&rev=471434&r1=471433&r2=471434
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/jndi/AbstractContextFactory.java
Sun Nov  5 06:19:34 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