8000 Remove OpenJDK 17 support on server side by stianst · Pull Request #55610 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## Required toolchain
- Use Maven Wrapper, not system Maven: `./mvnw`.
- JDK: 17, 21, or 25 (CI uses 25 for most jobs, with some workflows pinned to 21; the Maven compiler release is 17).
- JDK: 21, or 25 (CI uses 25 for most jobs, with some workflows pinned to 21; the Maven compiler release is 21).
- Node.js: 24+ for UI work (`js/apps/admin-ui/CONTRIBUTING.md`).
- PNPM workspace is managed from `js/`.

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
dist: [temurin]
version: [17, 21, 27]
version: [21, 27]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down
6 changes: 3 additions & 3 deletions authz/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
For the use by 3rd party applications, please use `org.keycloak:keycloak-authz-client` module.</description>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
<maven.compiler.source>${java.adapter.minimum.version}</maven.compiler.source>
<maven.compiler.target>${java.adapter.minimum.version}</maven.compiler.target>
<maven.compiler.release>${java.adapter.minimum.version}</maven.compiler.release>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
<description>Common library and dependencies shared with server and all adapters</description>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
<maven.compiler.source>${java.adapter.minimum.version}</maven.compiler.source>
<maven.compiler.target>${java.adapter.minimum.version}</maven.compiler.target>
<maven.compiler.release>${java.adapter.minimum.version}</maven.compiler.release>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
</properties>
Expand Down
6 changes: 3 additions & 3 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
<packaging>jar</packaging>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
<maven.compiler.source>${java.adapter.minimum.version}</maven.compiler.source>
<maven.compiler.target>${java.adapter.minimum.version}</maven.compiler.target>
<maven.compiler.release>${java.adapter.minimum.version}</maven.compiler.release>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public Object extractUserIdentity(X509Certificate[] certs) {

// From Java 21, the 3rd entry can be present with the type-id as String and 4th entry with the value (either in String or byte format).
// See javadoc of X509Certificate.getSubjectAlternativeNames in Java 21. For the sake of simplicity, we just ignore those additional String entries and
// always parse it from byte (2nd entry) as we still need to support Java 17 and it is not reliable anyway that entries are present in Java 21.
// always parse it from byte (2nd entry) as it is not reliable that entries are present in Java 21.
if (obj instanceof byte[]) {
byte[] otherNameBytes = (byte[]) obj;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public Object extractUserIdentity(X509Certificate[] certs) {

// From Java 21, the 3rd entry can be present with the type-id as String and 4th entry with the value (either in String or byte format).
// See javadoc of X509Certificate.getSubjectAlternativeNames in Java 21. For the sake of simplicity, we just ignore those additional String entries and
// always parse it from byte (2nd entry) as we still need to support Java 17 and it is not reliable anyway that entries are present in Java 21.
// always parse it from byte (2nd entry) as it is not reliable that entries are present in Java 21.
if (obj instanceof byte[]) {
byte[] otherNameBytes = (byte[]) obj;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public Object extractUserIdentity(X509Certificate[] certs) {

// From Java 21, the 3rd entry can be present with the type-id as String and 4th entry with the value (either in String or byte format).
// See javadoc of X509Certificate.getSubjectAlternativeNames in Java 21. For the sake of simplicity, we just ignore those additional String entries and
// always parse it from byte (2nd entry) as we still need to support Java 17 and it is not reliable anyway that entries are present in Java 21.
// always parse it from byte (2nd entry) as it is not reliable that entries are present in Java 21.
if (obj instanceof byte[]) {
byte[] otherNameBytes = (byte[]) obj;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.Provider;
import java.security.SecureRandom;
import java.security.Security;
import java.security.Signature;
import java.security.cert.CertPathBuilder;
Expand Down Expand Up @@ -102,7 +101,7 @@ public FIPS1402Provider() {

if (existingBcFipsProvider == null) {
final String isSystemFipsEnabled = isSystemFipsEnabled();
checkSecureRandom(() -> Security.insertProviderAt(this.bcFipsProvider, 1));
Security.insertProviderAt(this.bcFipsProvider, 1);
Provider bcJsseProvider = new BouncyCastleJsseProvider("fips:BCFIPS");
Security.insertProviderAt(bcJsseProvider, 2);
// force the key and trust manager factories if default values not present in BCJSSE
Expand Down Expand Up @@ -339,34 +338,6 @@ private SNIHostName getSNIHostName(String host) {
};
}

// BCFIPS require "SecureRandom.getInstanceStrong" to be available. But it may not be available on RHEL 8 on OpenJDK 17 due the https://bugzilla.redhat.com/show_bug.cgi?id=2155060
private void checkSecureRandom(Runnable insertBcFipsProvider) {
try {
SecureRandom sr = SecureRandom.getInstanceStrong();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI claims SecureRandom.getInstanceStrong() is not enabled in true FIPS environment. That our CI misses it because the the kernel is not switched to FIPS, hence JDK is not switched to true FIPS mode either.

I think we might need some help from @mposolda on this.

Alternatively we could just revert this change to unblock Java 17 deprecation and tackle this clean up as a follow-up. That would be my preferred approach.

log.debugf("Strong secure random available. Algorithm: %s, Provider: %s", sr.getAlgorithm(), sr.getProvider());
insertBcFipsProvider.run();
} catch (NoSuchAlgorithmException nsae) {

// Fallback to regular SecureRandom
// We could delete this once https://issues.redhat.com/browse/RHEL-3478 is fixed
SecureRandom secRandom = new SecureRandom();
String origStrongAlgs = Security.getProperty("securerandom.strongAlgorithms");
String usedAlg = secRandom.getAlgorithm() + ":" + secRandom.getProvider().getName();
log.debugf("Strong secure random not available. Tried algorithms: %s. Using algorithm as a fallback for strong secure random: %s", origStrongAlgs, usedAlg);

Security.setProperty("securerandom.strongAlgorithms", usedAlg);

try {
// Need to insert BCFIPS provider to security providers with "strong algorithm" available
insertBcFipsProvider.run();
SecureRandom.getInstance("DEFAULT", "BCFIPS");
log.debugf("Initialized BCFIPS secured random");
} catch (NoSuchAlgorithmException | NoSuchProviderException nsaee) {
throw new IllegalStateException("Not possible to initiate BCFIPS secure random", nsaee);
}
}
}

/**
* BCJSSE manages X.509, X509 and PKIX for KeyManagerFactory and
* TrustManagerFactory (names or aliases) while JSSE manages SunX509,
Expand Down
2 changes: 1 addition & 1 deletion docs/building.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Building from source

Ensure you have **JDK 17**, **JDK 21** or **JDK 25** and Git installed
Ensure you have **JDK 21** or **JDK 25** and Git installed

java -version
git --version
Expand Down
5 changes: 0 additions & 5 deletions docs/documentation/tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
<modelVersion>4.0.0</modelVersion>

<properties>
<!-- this property prevents the warning "WARN FilenoUtil: Native subprocess control requires open access" when using JRuby for the unit tests on JDK17 -->
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this is still needed in the end even on later JDKs. Sorry I was not clear in my previous review that here only we just need to update the comment.

<surefire.system.args>
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens java.base/java.io=ALL-UNNAMED
</surefire.system.args>
<version.jsoup>1.23.2</version.jsoup>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
Breaking changes are identified as those that might require changes for existing users to their configurations or applications.
In minor or patch releases, {project_name} will only introduce breaking changes to fix bugs.

=== OpenJDK 17 support removed

Keycloak server no longer supports running on OpenJDK 17, and the minimum supported version is now OpenJDK 21.

Comment on lines +7 to +10
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: the upgrading guide could help users assess impact with a few lines. But if you would like to keep things concise, that's not a problem. Something like:

=== OpenJDK 17 support removed

Keycloak server no longer supports running on OpenJDK 17, and the minimum supported version is now OpenJDK 21.
The official container image already uses OpenJDK 21 and is not affected by this change.
Client libraries (`keycloak-admin-client`, `keycloak-authz-client`) continue to support Java 8.
FIPS 140-2 deployments no longer need the `kc.java.security` file or the manual `XMLDSig` provider configuration that was required with older OpenJDK 17 versions.

=== Authorization policies with deleted references

Role policies with a missing required role and negative role, group, user, client, or client scope policies with unresolved references now evaluate as invalid.
Expand Down
30 changes: 1 addition & 29 deletions docs/guides/server/fips.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ FIPS library is not officially validated with OpenJDK 25. Hence for FIPS 140-2 c
To run in FIPS 140-2, {project_name} should run on a FIPS 140-2 enabled system. This requirement usually assumes RHEL or Fedora where FIPS was enabled during installation.
See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/security_hardening/index#assembly_installing-the-system-in-fips-mode_security-hardening[RHEL documentation]
for the details. When the system is in FIPS mode, it makes sure that the underlying OpenJDK is in FIPS mode as well and would use only
https://docs.redhat.com/en/documentation/red_hat_build_of_openjdk/17/html/configuring_red_hat_build_of_openjdk_17_on_rhel_with_fips/openjdk-default-fips-configuration#security_providers[FIPS enabled security providers].
https://docs.redhat.com/en/documentation/red_hat_build_of_openjdk/21/html/configuring_red_hat_build_of_openjdk_21_on_rhel_with_fips/openjdk-default-fips-configuration#security_providers[FIPS enabled security providers].

To check that the system is in FIPS mode, you can check it with the following command from the command line:

Expand Down Expand Up @@ -162,32 +162,6 @@ always fulfils this requirement.

== Other restrictions

To have SAML working, make sure that a `XMLDSig` security provider is available in your security providers.
To have Kerberos working, make sure that a `SunJGSS` security provider is available. In FIPS enabled RHEL 9 in OpenJDK 21, the `XMLDSig` security provider may be already enabled
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XMLDSig still needs to be explicitly enabled on FIPS. We need to adjust the docs.

in the `java.security` by default and the same applies with latest OpenJDK 17. But with older OpenJDK 17, it may not be enabled by default, which means that SAML effectively cannot work.

To have SAML working, you can manually add the provider into `JAVA_HOME/conf/security/java.security` into the list fips providers. For example, add the line such as the following in case
that it is not already available in your FIPS security providers:

[source]
----
fips.provider.7=XMLDSig
----

Adding this security provider should work well. In fact, it is FIPS compliant and is already added by default in the OpenJDK 21 and newer versions of OpenJDK 17.
Details are in the https://bugzilla.redhat.com/show_bug.cgi?id=1940064[bugzilla].

NOTE: It is recommended to look at `JAVA_HOME/conf/security/java.security` and check all configured providers here and make sure that the number matches. In other words, `fips.provider.7`
assumes that there are already 6 providers configured with prefix like `fips.provider.N` in this file.

If you prefer not to edit your `java.security` file inside java itself, you can create a custom java security file (for example named `kc.java.security`) and add only the single
property above for adding XMLDSig provider into that file. Then start your {project_name} server with this property file attached:

[source]
----
-Djava.security.properties=/location/to/your/file/kc.java.security
----

For Kerberos/SPNEGO, the security provider `SunJGSS` is not yet fully FIPS compliant. Hence it is not recommended to add it to your list of security providers
if you want to be FIPS compliant. The `KERBEROS` feature is disabled by default in {project_name} when it is executed on FIPS platform and when security provider is not
available. Details are in the https://bugzilla.redhat.com/show_bug.cgi?id=2051628[bugzilla].
Expand Down Expand Up @@ -232,7 +206,6 @@ For example in the current directory, you can create sub-directory `files` and a

* BC FIPS jar files as described above
* Custom keystore file - named for example `keycloak-fips.keystore.bcfks`
* Security file `kc.java.security` with added provider for SAML (Not needed with OpenJDK 21 or newer OpenJDK 17)

Then create `Containerfile` in the current directory similar to this:

Expand All @@ -246,7 +219,6 @@ ADD files /tmp/files/
WORKDIR /opt/keycloak
RUN cp /tmp/files/*.jar /opt/keycloak/providers/
RUN cp /tmp/files/keycloak-fips.keystore.* /opt/keycloak/conf/server.keystore
RUN cp /tmp/files/kc.java.security /opt/keycloak/conf/

RUN /opt/keycloak/bin/kc.sh build --features=fips --fips-mode=strict

Expand Down
1 change: 0 additions & 1 deletion docs/guides/server/supported-configurations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ This {section} provides an overview of the platforms, versions, and configuratio

{project_name} requires a Java Virtual Machine (JVM) to run. The following Java Development Kit (JDK) versions are supported:

* OpenJDK 17 (LTS)
* OpenJDK 21 (LTS)
* OpenJDK 25 (LTS)

Expand Down
6 changes: 0 additions & 6 deletions integration/admin-client-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
<name>Keycloak Admin REST Client Core</name>
<description>Jackson-agnostic core of the Keycloak Admin REST Client: resource interfaces, token management, and SPI.</description>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
</properties>

<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
Expand Down
4 changes: 3 additions & 1 deletion integration/admin-client-jackson3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
</description>

<properties>
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.source>${java.adapter.jackson3.minimum.version}</maven.compiler.source>
<maven.compiler.target>${java.adapter.jackson3.minimum.version}</maven.compiler.target>
<maven.compiler.release>${java.adapter.jackson3.minimum.version}</maven.compiler.release>
<version.resteasy.jackson.provider>1.0.0.Final</version.resteasy.jackson.provider>
</properties>

Expand Down
6 changes: 0 additions & 6 deletions integration/admin-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
For the use by 3rd party applications, please use `org.keycloak:keycloak-admin-client` module.
</description>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
</properties>

<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
Expand Down
6 changes: 6 additions & 0 deletions integration/client-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
<artifactId>keycloak-client-cli-parent</artifactId>
<packaging>pom</packaging>

<properties>
<maven.compiler.source>${java.server.minimum.version}</maven.compiler.source>
<maven.compiler.target>${java.server.minimum.version}</maven.compiler.target>
<maven.compiler.release>${java.server.minimum.version}</maven.compiler.release>
</properties>

<modules>
<module>admin-cli</module>
<module>client-cli-dist</module>
Expand Down
6 changes: 6 additions & 0 deletions integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
<artifactId>keycloak-integration-parent</artifactId>
<packaging>pom</packaging>

<properties>
<maven.compiler.source>${java.adapter.minimum.version}</maven.compiler.source>
<maven.compiler.target>${java.adapter.minimum.version}</maven.compiler.target>
<maven.compiler.release>${java.adapter.minimum.version}</maven.compiler.release>
</properties>

<modules>
<module>admin-client-core</module>
<module>admin-client</module>
Expand Down
6 changes: 0 additions & 6 deletions misc/db-compatibility-verifier/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@

<packaging>maven-plugin</packaging>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down
6 changes: 0 additions & 6 deletions misc/theme-verifier/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@

<packaging>maven-plugin</packaging>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down
6 changes: 0 additions & 6 deletions misc/vuln-to-issues/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@

<packaging>jar</packaging>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down
4 changes: 2 additions & 2 deletions operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Also see [Operator guides](https://www.keycloak.org/guides#operator)

## Activating the Module

When build from the project root directory, this module is only enabled if the installed JDK is 17 or newer.
When build from the project root directory, this module is only enabled if the installed OpenJDK is 21 or newer.

## Building

Ensure you have JDK 17 (or newer) installed.
Ensure you have OpenJDK 21 (or newer) installed.

Build the Docker image with:

Expand Down
11 changes: 8 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,16 @@
<packaging>pom</packaging>

<properties>
<!-- Minimum OpenJDK version for server and adapter modules -->
<java.server.minimum.version>21</java.server.minimum.version>
<java.adapter.minimum.version>8</java.adapter.minimum.version>
<java.adapter.jackson3.minimum.version>17</java.adapter.jackson3.minimum.version> <!-- Jackson 3 requires OpenJDK 17+ -->

<!-- Maven -->
<maven.version>3.9.8</maven.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.source>${java.server.minimum.version}</maven.compiler.source>
<maven.compiler.target>${java.server.minimum.version}</maven.compiler.target>
<maven.compiler.release>${java.server.minimum.version}</maven.compiler.release>
<maven.plugin-tools.version>3.15.1</maven.plugin-tools.version>

<project.version.npm>999.0.0-SNAPSHOT</project.version.npm>
Expand Down
6 changes: 3 additions & 3 deletions rest/admin-v2/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<name>Keycloak Admin API v2 APIs</name>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.source>${java.adapter.minimum.version}</maven.compiler.source>
<maven.compiler.target>${java.adapter.minimum.version}</maven.compiler.target>
<maven.compiler.release>${java.adapter.minimum.version}</maven.compiler.release>
Comment on lines +16 to +18
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This is only cosmetic, and not a dealbreaker to merge this PR, so use it if you think it makes sense.

The only scenario where the comment below makes sense is if someone tries to use keycloak-admin-v2-api as a dependency in a project running on Java 8 or Java 11 outside Keycloak.

They'd see that the artifact warning Java 8 compatibility, add it to their project, and then get NoClassDefFoundError at runtime when the JVM tries to load the Jakarta EE 10 classes.

If that's acceptable, you don't need to read the text below :)

This is changing the compiler target from Java 11 to Java 8. The module depends on Jakarta EE 10 APIs (jakarta.ws.rs-api, jakarta.validation-api) which require Java 11+ at runtime, so anyone on Java 8 would hit NoClassDefFoundError on the Jakarta classes regardless of the compile target. The ListOptions.java and test changes (Set.of → Collections.emptySet, etc.) were unnecessary since those are Java 9+ features that worked fine at Java 11.

Two alternatives:

A) Remove the explicit compiler override entirely and inherit ${java.server.minimum.version} (21) from the root pom. This module lives under rest/ and is consumed only by server-side modules (quarkus/runtime, operator, rest/admin-v2/services), so treating it as server code seems natural. Revert the ListOptions.java and test changes.

B) Restore <maven.compiler.release>11</maven.compiler.release> explicitly, matching the actual minimum imposed by the Jakarta EE 10 dependencies. Same result — revert the code changes.

Either way the ListOptions.java and test changes can be dropped since they were only needed to satisfy the Java 8 target.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only scenario where the comment below makes sense is if someone tries to use keycloak-admin-v2-api as a dependency in a project running on Java 8 or Java 11 outside Keycloak.

That's a realistic scenario, it might be used with the Java Admin Client that supports Java as old as 8.

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
Loading
Loading
0