簡體   English   中英

在 Keyclaok 17 之后,Keycloak 是否停止了與 Wildfly 的配置?

[英]Does Keycloak stopped configuration with Wildfly after Keyclaok 17?

( https://www.keycloak.org/archive/downloads-17.0.1.html ) 是什么意思

Keycloak: Distribution powered by Quarkus
Keycloak WildFly (deprecated): Distribution powered by WildFly

當我看到文檔時,它說:

The default distribution of Keycloak is now powered by Quarkus, which brings a number 
of breaking changes to you configure Keycloak and deploy custom providers. 
For more information check out the Quarkus Migration Guide.

The WildFly distribution of Keycloak is now deprecated, with support ending June 2022. 
We recommend migrating to the Quarkus distribution as soon as possible. 
However, if you need to remain on the legacy WildFly distribution for some time, 
there are some changes to consider

我正在使用 Wildfly 作為部署項目的應用程序服務器。

這是否意味着我僅使用 Keycloak 的 Wildfly 發行版,其支持將於 2022 年 6 月結束。

或者

這是否意味着 Keycloak 在下面使用 Wildfly 而不再使用它並使用 quarkus? (現在 quarkus 分布可以在我們目前擁有的 wildfly 設置下正常工作)

不幸的是,它已經與 WildFly 無關了。 在最近的版本中,Keycloak 被打包為一個 Java EE 存檔文件(或作為 WildFly 模塊),您可以將其部署到 WildFly 應用程序服務器中。

另一方面,Quarkus 是一個用於開發雲原生 Java 應用程序的框架。 它的運行時依賴於許多底層服務的開源項目(例如 Vertx、SmallRye 項目等),並且具有完全不同的體系結構。 作為此類遷移的一部分,Keycloak 現在被打包為一個獨立的 java 應用程序(對於使用 Quarkus 開發的應用程序,這是典型的 output)並包含其所有依賴項。 所以 WildFly 上不再有部署/安裝。

Quarkus 應用程序默認設計為在 Kube.netes 等雲環境中運行。 因此,您可能還需要考慮如果您的組織中有這樣的基礎架構,您是否可以從中受益(但這不是強制性的,您可以在服務器上將其作為普通的 java 應用程序運行)。 但是你絕對不能再使用你的 WildFly 特定配置(例如 Keycloak 子系統或 OpenID 子系統)。

您可以在此處找到更多詳細信息。

Quarkus是 Wildfly 的變體,其打包方式使容器化(即 Docker、Kube.netes 等)變得更加容易。 為 Wildfly(和一般的 JEE)編寫的應用程序可以在 Quarkus 中快速運行。

Wildfy 25 及更高版本在內部包含 OIDC 功能。 因此,您不需要像以前那樣安裝 Keycloak 擴展。 Keycloak,從版本 15 開始,也是基於 Quarkus 的。 因此,安裝的構建階段允許您在運行階段之前設置許多選項。 例如,我曾經在standalone.xml中為我的數據庫設置一個數據源。 現在,我使用resources.properties為 Keycloak 設置我的數據庫。 這些概念是相似的。

如果您使用的 Wildfly 版本低於 25,那么您仍然需要 Keycloak 適配器。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM