directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r428246 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/bind/BindRequestGrammar.java
Date Thu, 03 Aug 2006 05:42:43 GMT
Author: akarasulu
Date: Wed Aug  2 22:42:43 2006
New Revision: 428246

URL: http://svn.apache.org/viewvc?rev=428246&view=rev
Log:
commenting out code that tries to make protocol decisions in codec

Modified:
    directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/bind/BindRequestGrammar.java

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/bind/BindRequestGrammar.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/bind/BindRequestGrammar.java?rev=428246&r1=428245&r2=428246&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/bind/BindRequestGrammar.java
(original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/bind/BindRequestGrammar.java
Wed Aug  2 22:42:43 2006
@@ -159,12 +159,12 @@
                     {
                         int version = IntegerDecoder.parse( value, 1, 127 );
 
-                        if ( version != 3 )
-                        {
-                            log.error( "The version {} is invalid : it must be 3", new Integer(
version ) );
-
-                            throw new DecoderException( "Ldap Version " + version + " is
not supported" );
-                        }
+                        // will handle this in higher layers: bind handler
+//                        if ( version != 3 )
+//                        {
+//                            log.error( "The version {} is invalid : it must be 3", new
Integer( version ) );
+//                            throw new DecoderException( "Ldap Version " + version + " is
not supported" );
+//                        }
 
                         if ( IS_DEBUG )
                         {



Mime
View raw message