directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r421410 - /directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationService.java
Date Wed, 12 Jul 2006 20:52:56 GMT
Author: akarasulu
Date: Wed Jul 12 13:52:55 2006
New Revision: 421410

URL: http://svn.apache.org/viewvc?rev=421410&view=rev
Log:
adding line to normalize the bindDn on bind ops inside the NormalizationService

Modified:
    directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationService.java

Modified: directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationService.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationService.java?rev=421410&r1=421409&r2=421410&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationService.java
(original)
+++ directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationService.java
Wed Jul 12 13:52:55 2006
@@ -17,6 +17,7 @@
 package org.apache.directory.server.core.normalization;
 
 
+import java.util.List;
 import java.util.Map;
 
 import javax.naming.NamingEnumeration;
@@ -284,6 +285,14 @@
     {
         name = LdapDN.normalize( name, attributeRegistry.getNormalizerMapping() );
         return next.compare( name, oid, value );
+    }
+    
+    
+    public void bind( NextInterceptor next, LdapDN bindDn, byte[] credentials, List mechanisms,
String saslAuthId ) 
+        throws NamingException
+    {
+        bindDn = LdapDN.normalize( bindDn, attributeRegistry.getNormalizerMapping() );
+        next.bind( bindDn, credentials, mechanisms, saslAuthId );
     }
 
 



Mime
View raw message