This is an automated email from the ASF dual-hosted git repository.
dineshkumar pushed a commit to branch ranger-2.6
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/ranger-2.6 by this push:
new adb60c5f40 RANGER-4892: Upgrade Ranger Tomcat from 8.5.x to 9.x
adb60c5f40 is described below
commit adb60c5f40d13138b05eb57b9281e42365aa5b25
Author: Sanket Shelar <[email protected]>
AuthorDate: Mon Jan 13 15:48:01 2025 +0530
RANGER-4892: Upgrade Ranger Tomcat from 8.5.x to 9.x
Signed-off-by: Dineshkumar Yadav <[email protected]>
---
agents-audit/pom.xml | 9 ++++++
agents-common/pom.xml | 9 ++++++
agents-cred/pom.xml | 9 ++++++
credentialbuilder/pom.xml | 9 ++++++
embeddedwebserver/pom.xml | 6 ++++
hbase-agent/pom.xml | 9 ++++++
hive-agent/pom.xml | 9 ++++++
kms/pom.xml | 9 ++++++
plugin-atlas/pom.xml | 9 ++++++
plugin-kafka/pom.xml | 9 ++++++
plugin-ozone/pom.xml | 9 ++++++
plugin-schema-registry/pom.xml | 2 +-
plugin-solr/pom.xml | 9 ++++++
plugin-yarn/pom.xml | 9 ++++++
pom.xml | 4 +--
ranger-atlas-plugin-shim/pom.xml | 9 ++++++
ranger-authn/pom.xml | 11 ++++++++
ranger-common-ha/pom.xml | 9 ++++++
ranger-examples/plugin-sampleapp/pom.xml | 9 ++++++
ranger-hbase-plugin-shim/pom.xml | 9 ++++++
ranger-metrics/pom.xml | 11 ++++++++
ranger-solr-plugin-shim/pom.xml | 9 ++++++
ranger-yarn-plugin-shim/pom.xml | 9 ++++++
security-admin/pom.xml | 6 ++++
.../web/filter/RangerKRBAuthenticationFilter.java | 32 ++++++++++++++++++++++
storm-agent/pom.xml | 9 ++++++
tagsync/pom.xml | 6 ++++
ugsync/pom.xml | 6 ++++
28 files changed, 252 insertions(+), 3 deletions(-)
diff --git a/agents-audit/pom.xml b/agents-audit/pom.xml
index 324a20dc2c..9e7756b760 100644
--- a/agents-audit/pom.xml
+++ b/agents-audit/pom.xml
@@ -58,6 +58,11 @@
</exclusion>
</exclusions>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
@@ -90,6 +95,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/agents-common/pom.xml b/agents-common/pom.xml
index b438a76ffc..a2a4fc5079 100644
--- a/agents-common/pom.xml
+++ b/agents-common/pom.xml
@@ -83,6 +83,11 @@
<artifactId>commons-lang</artifactId>
<version>${commons.lang.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
@@ -125,6 +130,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/agents-cred/pom.xml b/agents-cred/pom.xml
index e10573f0c2..4ca6f20964 100644
--- a/agents-cred/pom.xml
+++ b/agents-cred/pom.xml
@@ -36,6 +36,11 @@
<artifactId>nimbus-jose-jwt</artifactId>
<version>${nimbus-jose-jwt.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
@@ -69,6 +74,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/credentialbuilder/pom.xml b/credentialbuilder/pom.xml
index f37579ea32..e5662431ab 100644
--- a/credentialbuilder/pom.xml
+++ b/credentialbuilder/pom.xml
@@ -53,6 +53,11 @@
<artifactId>commons-logging</artifactId>
<version>${commons.logging.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
@@ -110,6 +115,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/embeddedwebserver/pom.xml b/embeddedwebserver/pom.xml
index 486a6903e5..f0d6e9a616 100644
--- a/embeddedwebserver/pom.xml
+++ b/embeddedwebserver/pom.xml
@@ -82,6 +82,12 @@
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-plugins-common</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.graalvm.sdk</groupId>
+ <artifactId>graal-sdk</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
diff --git a/hbase-agent/pom.xml b/hbase-agent/pom.xml
index 47e6443101..a8412dbe72 100644
--- a/hbase-agent/pom.xml
+++ b/hbase-agent/pom.xml
@@ -91,6 +91,11 @@
<artifactId>opentelemetry-semconv</artifactId>
<version>${io.opentelemetry-semconv.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-configuration2</artifactId>
@@ -106,6 +111,10 @@
<artifactId>hadoop-common</artifactId>
<version>${hadoop.version}</version>
<exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/hive-agent/pom.xml b/hive-agent/pom.xml
index d2ad706258..250c41e4d0 100644
--- a/hive-agent/pom.xml
+++ b/hive-agent/pom.xml
@@ -41,6 +41,11 @@
<artifactId>commons-lang</artifactId>
<version>${commons.lang.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
@@ -51,6 +56,10 @@
<artifactId>hive-common</artifactId>
<version>${hive.version}</version>
<exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/kms/pom.xml b/kms/pom.xml
index ee02b1cfd9..052c436b1b 100644
--- a/kms/pom.xml
+++ b/kms/pom.xml
@@ -50,6 +50,10 @@
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-cbor</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>software.amazon.ion</groupId>
<artifactId>ion-java</artifactId>
@@ -265,6 +269,11 @@
<artifactId>rxjava</artifactId>
<version>${io.reactivex.rxjava.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
diff --git a/plugin-atlas/pom.xml b/plugin-atlas/pom.xml
index 908685caae..78727464b7 100644
--- a/plugin-atlas/pom.xml
+++ b/plugin-atlas/pom.xml
@@ -40,11 +40,20 @@
<artifactId>commons-lang</artifactId>
<version>${commons.lang.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.atlas</groupId>
<artifactId>atlas-authorization</artifactId>
<version>${atlas.version}</version>
<exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>*</artifactId>
diff --git a/plugin-kafka/pom.xml b/plugin-kafka/pom.xml
index e085527d21..cfdcc14291 100644
--- a/plugin-kafka/pom.xml
+++ b/plugin-kafka/pom.xml
@@ -51,6 +51,11 @@
<artifactId>commons-codec</artifactId>
<version>${commons.codec.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId>
@@ -64,6 +69,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/plugin-ozone/pom.xml b/plugin-ozone/pom.xml
index 39335475e7..b8d273b838 100644
--- a/plugin-ozone/pom.xml
+++ b/plugin-ozone/pom.xml
@@ -41,6 +41,11 @@ limitations under the License.
<artifactId>protobuf-java</artifactId>
<version>${protobuf-java.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId>
@@ -54,6 +59,10 @@ limitations under the License.
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/plugin-schema-registry/pom.xml b/plugin-schema-registry/pom.xml
index 5fe8b5f8b6..ab16254fc6 100644
--- a/plugin-schema-registry/pom.xml
+++ b/plugin-schema-registry/pom.xml
@@ -34,7 +34,7 @@
<jersey.version>2.22.1</jersey.version>
<jettison.version>1.5.4</jettison.version>
<schema.registry.version>0.9.1</schema.registry.version>
- <servlet-api.version>3.0.1</servlet-api.version>
+ <servlet-api.version>4.0.0</servlet-api.version>
<snakeyaml.version>2.2</snakeyaml.version>
</properties>
diff --git a/plugin-solr/pom.xml b/plugin-solr/pom.xml
index 3dbeff448d..167ff6ece5 100644
--- a/plugin-solr/pom.xml
+++ b/plugin-solr/pom.xml
@@ -31,6 +31,11 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
@@ -88,6 +93,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-unix-common</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
diff --git a/plugin-yarn/pom.xml b/plugin-yarn/pom.xml
index add03e76c1..c493c3db7e 100644
--- a/plugin-yarn/pom.xml
+++ b/plugin-yarn/pom.xml
@@ -36,6 +36,11 @@
<artifactId>jackson-core</artifactId>
<version>${fasterxml.jackson.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-api</artifactId>
@@ -46,6 +51,10 @@
<artifactId>hadoop-yarn-common</artifactId>
<version>${hadoop.version}</version>
<exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/pom.xml b/pom.xml
index d5d1bfe147..d8ce377427 100644
--- a/pom.xml
+++ b/pom.xml
@@ -127,7 +127,7 @@
<javax.annotation-api>1.3.2</javax.annotation-api>
<javax.el.version>3.0.1-b12</javax.el.version>
<javax.persistence.version>2.1.0</javax.persistence.version>
- <javax.servlet.version>3.1.0</javax.servlet.version>
+ <javax.servlet.version>4.0.0</javax.servlet.version>
<javax.validation>2.0.1.Final</javax.validation>
<jaxb-impl.version>2.3.3</jaxb-impl.version>
<jaxb.api.version>2.3.1</jaxb.api.version>
@@ -213,7 +213,7 @@
<storm.version>1.2.4</storm.version>
<sun-jersey-bundle.version>1.19</sun-jersey-bundle.version>
<testng.version>7.5.1</testng.version>
- <tomcat.embed.version>8.5.94</tomcat.embed.version>
+ <tomcat.embed.version>9.0.98</tomcat.embed.version>
<!-- trino plugin deps -->
<trino.airlift.version>0.192</trino.airlift.version>
diff --git a/ranger-atlas-plugin-shim/pom.xml b/ranger-atlas-plugin-shim/pom.xml
index 948a473bea..d3d3dcc4d2 100644
--- a/ranger-atlas-plugin-shim/pom.xml
+++ b/ranger-atlas-plugin-shim/pom.xml
@@ -40,11 +40,20 @@
<artifactId>commons-lang</artifactId>
<version>${commons.lang.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.atlas</groupId>
<artifactId>atlas-authorization</artifactId>
<version>${atlas.version}</version>
<exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>*</artifactId>
diff --git a/ranger-authn/pom.xml b/ranger-authn/pom.xml
index 0167fde4ee..4c883e33e0 100644
--- a/ranger-authn/pom.xml
+++ b/ranger-authn/pom.xml
@@ -46,6 +46,11 @@
<artifactId>commons-lang</artifactId>
<version>${commons.lang.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
@@ -62,6 +67,12 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<!-- Test -->
diff --git a/ranger-common-ha/pom.xml b/ranger-common-ha/pom.xml
index ddd568e5aa..c67f5c4971 100644
--- a/ranger-common-ha/pom.xml
+++ b/ranger-common-ha/pom.xml
@@ -40,6 +40,11 @@
<artifactId>javax.inject</artifactId>
<version>1</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-client</artifactId>
@@ -96,6 +101,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
diff --git a/ranger-examples/plugin-sampleapp/pom.xml
b/ranger-examples/plugin-sampleapp/pom.xml
index 09e43bae4f..2e0d68d11f 100644
--- a/ranger-examples/plugin-sampleapp/pom.xml
+++ b/ranger-examples/plugin-sampleapp/pom.xml
@@ -68,6 +68,11 @@
<artifactId>commons-lang</artifactId>
<version>${commons.lang.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-configuration2</artifactId>
@@ -91,6 +96,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/ranger-hbase-plugin-shim/pom.xml b/ranger-hbase-plugin-shim/pom.xml
index 789831364e..026e2899b7 100644
--- a/ranger-hbase-plugin-shim/pom.xml
+++ b/ranger-hbase-plugin-shim/pom.xml
@@ -35,6 +35,11 @@
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-server</artifactId>
@@ -48,6 +53,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
diff --git a/ranger-metrics/pom.xml b/ranger-metrics/pom.xml
index 5ee81bfb6e..b099f9bac9 100644
--- a/ranger-metrics/pom.xml
+++ b/ranger-metrics/pom.xml
@@ -35,9 +35,20 @@
</properties>
<dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
diff --git a/ranger-solr-plugin-shim/pom.xml b/ranger-solr-plugin-shim/pom.xml
index e265bbe2d5..ea9b626939 100644
--- a/ranger-solr-plugin-shim/pom.xml
+++ b/ranger-solr-plugin-shim/pom.xml
@@ -31,6 +31,11 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>credentialbuilder</artifactId>
@@ -88,6 +93,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-unix-common</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
diff --git a/ranger-yarn-plugin-shim/pom.xml b/ranger-yarn-plugin-shim/pom.xml
index d669ed6c69..e989c8cfc4 100644
--- a/ranger-yarn-plugin-shim/pom.xml
+++ b/ranger-yarn-plugin-shim/pom.xml
@@ -31,11 +31,20 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-common</artifactId>
<version>${hadoop.version}</version>
<exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>*</artifactId>
diff --git a/security-admin/pom.xml b/security-admin/pom.xml
index 96bf334bd6..51f258fe39 100644
--- a/security-admin/pom.xml
+++ b/security-admin/pom.xml
@@ -555,6 +555,12 @@
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-plugins-common</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.graalvm.sdk</groupId>
+ <artifactId>graal-sdk</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
diff --git
a/security-admin/src/main/java/org/apache/ranger/security/web/filter/RangerKRBAuthenticationFilter.java
b/security-admin/src/main/java/org/apache/ranger/security/web/filter/RangerKRBAuthenticationFilter.java
index db55e408d9..a376676a1c 100644
---
a/security-admin/src/main/java/org/apache/ranger/security/web/filter/RangerKRBAuthenticationFilter.java
+++
b/security-admin/src/main/java/org/apache/ranger/security/web/filter/RangerKRBAuthenticationFilter.java
@@ -697,6 +697,38 @@ public Dynamic addFilter(String filterName, Filter filter)
{
public Dynamic addFilter(String filterName, String className) {
return null;
}
+
+ @Override
+ public ServletRegistration.Dynamic addJspFile(String
servletName, String jspFile) {
+ return null;
+ }
+
+ @Override
+ public int getSessionTimeout() {
+ return 0;
+ }
+
+ @Override
+ public void setSessionTimeout(int sessionTimeout) {
+ }
+
+ @Override
+ public String getRequestCharacterEncoding() {
+ return null;
+ }
+
+ @Override
+ public void setRequestCharacterEncoding(String encoding) {
+ }
+
+ @Override
+ public String getResponseCharacterEncoding() {
+ return null;
+ }
+
+ @Override
+ public void setResponseCharacterEncoding(String encoding) {
+ }
};
}
diff --git a/storm-agent/pom.xml b/storm-agent/pom.xml
index e7009ad300..2bf61b0f9c 100644
--- a/storm-agent/pom.xml
+++ b/storm-agent/pom.xml
@@ -41,6 +41,11 @@
<artifactId>commons-codec</artifactId>
<version>${commons.codec.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-configuration2</artifactId>
@@ -138,6 +143,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
<exclusion>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
diff --git a/tagsync/pom.xml b/tagsync/pom.xml
index 8152f34905..d8c7fc363b 100644
--- a/tagsync/pom.xml
+++ b/tagsync/pom.xml
@@ -257,6 +257,12 @@
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-plugins-common</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.graalvm.sdk</groupId>
+ <artifactId>graal-sdk</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
diff --git a/ugsync/pom.xml b/ugsync/pom.xml
index 3ca1724720..88b6dd6132 100644
--- a/ugsync/pom.xml
+++ b/ugsync/pom.xml
@@ -165,6 +165,12 @@
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-plugins-common</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.graalvm.sdk</groupId>
+ <artifactId>graal-sdk</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>