From 03a6d1759991ae14b89150fecd4a8ac957f16f6f Mon Sep 17 00:00:00 2001 From: Valera V Harseko Date: Thu, 24 Oct 2024 18:31:47 +0300 Subject: [PATCH] FIX java.base/sun.security.krb5 -> java.security.jgss/sun.security.krb5 --- openam-distribution/openam-distribution-docker/Dockerfile | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openam-distribution/openam-distribution-docker/Dockerfile b/openam-distribution/openam-distribution-docker/Dockerfile index b6716b68dc..c2595b93c4 100644 --- a/openam-distribution/openam-distribution-docker/Dockerfile +++ b/openam-distribution/openam-distribution-docker/Dockerfile @@ -7,7 +7,7 @@ ENV CATALINA_HOME=/usr/local/tomcat \ OPENAM_USER="openam" \ OPENAM_DATA_DIR="/usr/openam/config" ENV PATH=$CATALINA_HOME/bin:$PATH \ - JAVA_OPTS="--add-exports java.base/sun.security.util=ALL-UNNAMED --add-exports java.base/sun.security.krb5=ALL-UNNAMED --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED" \ + JAVA_OPTS="--add-exports java.base/sun.security.util=ALL-UNNAMED --add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED" \ MEMORY="-server -XX:+UseG1GC -XX:+UseContainerSupport" \ CATALINA_OPTS="$MEMORY -Dcom.iplanet.services.configpath=$OPENAM_DATA_DIR -Dcom.sun.identity.configuration.directory=$OPENAM_DATA_DIR" diff --git a/pom.xml b/pom.xml index 28555053e9..8e73947304 100644 --- a/pom.xml +++ b/pom.xml @@ -217,7 +217,7 @@ --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED - --add-exports java.base/sun.security.krb5=ALL-UNNAMED + --add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED --add-exports java.base/sun.security.util=ALL-UNNAMED --add-exports java.base/sun.security.jca=ALL-UNNAMED --add-exports java.base/sun.security.x509=ALL-UNNAMED