From 9513405020b413cd182d8b819572bb050223984a Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Thu, 13 May 2021 14:33:35 -0400 Subject: [PATCH] ARTEMIS-2813 Update MiniKDC and fix Kerberos tests on JDK 11+ Updates the MiniKDC dependency and adds another now needed dep in order to get the Kerberos tests working on JDK 11+ builds. --- tests/integration-tests/pom.xml | 11 +- .../integration/amqp/JMSSaslGssapiTest.java | 110 +++++++++++++----- .../test/resources/minikdc-krb5-template.conf | 30 +++++ 3 files changed, 121 insertions(+), 30 deletions(-) create mode 100644 tests/integration-tests/src/test/resources/minikdc-krb5-template.conf diff --git a/tests/integration-tests/pom.xml b/tests/integration-tests/pom.xml index 65140fa567..66eaaa241f 100644 --- a/tests/integration-tests/pom.xml +++ b/tests/integration-tests/pom.xml @@ -390,7 +390,13 @@ org.apache.hadoop hadoop-minikdc - 2.8.1 + 3.3.0 + test + + + org.apache.directory.server + apacheds-interceptor-kerberos + ${directory-version} test @@ -554,8 +560,7 @@ maven-surefire-plugin - - **/JMSSaslGssapiTest.java + **/SaslKrb5LDAPSecurityTest.java