Browse Source

HADOOP-18308 - Update to Apache LDAP API 2.0.x (#4477)

Update the dependencies of the LDAP libraries used for testing:

ldap-api.version = 2.0.0
apacheds.version = 2.0.0.AM26

Contributed by Colm O hEigeartaigh.
Colm O hEigeartaigh 2 years ago
parent
commit
25f8bdcd21

+ 1 - 1
hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/TestKerberosAuthenticator.java

@@ -27,7 +27,7 @@ import java.nio.charset.CharacterCodingException;
 import javax.security.sasl.AuthenticationException;
 import javax.security.sasl.AuthenticationException;
 
 
 import org.apache.commons.codec.binary.Base64;
 import org.apache.commons.codec.binary.Base64;
-import org.apache.commons.lang.reflect.FieldUtils;
+import org.apache.commons.lang3.reflect.FieldUtils;
 import org.apache.hadoop.minikdc.KerberosSecurityTestcase;
 import org.apache.hadoop.minikdc.KerberosSecurityTestcase;
 import org.apache.hadoop.security.authentication.KerberosTestUtils;
 import org.apache.hadoop.security.authentication.KerberosTestUtils;
 import org.apache.hadoop.security.authentication.server.AuthenticationFilter;
 import org.apache.hadoop.security.authentication.server.AuthenticationFilter;

+ 2 - 2
hadoop-project/pom.xml

@@ -111,8 +111,8 @@
     <bouncycastle.version>1.68</bouncycastle.version>
     <bouncycastle.version>1.68</bouncycastle.version>
 
 
     <!-- Required for testing LDAP integration -->
     <!-- Required for testing LDAP integration -->
-    <apacheds.version>2.0.0-M21</apacheds.version>
-    <ldap-api.version>1.0.0-M33</ldap-api.version>
+    <apacheds.version>2.0.0.AM26</apacheds.version>
+    <ldap-api.version>2.0.0</ldap-api.version>
 
 
     <!-- Apache Commons dependencies -->
     <!-- Apache Commons dependencies -->
     <commons-beanutils.version>1.9.4</commons-beanutils.version>
     <commons-beanutils.version>1.9.4</commons-beanutils.version>