简体   繁体   English

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

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

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

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

When i see documentation it says:当我看到文档时,它说:

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

I am using Wildfly as application Server where projects are deployed.我正在使用 Wildfly 作为部署项目的应用程序服务器。

Shall this means i use Wildfly distribution of Keycloak only whose support is ending June 2022.这是否意味着我仅使用 Keycloak 的 Wildfly 发行版,其支持将于 2022 年 6 月结束。

or或者

Does this mean that Keycloak use Wildfly underneath and not use that anymore and quarkus is used?这是否意味着 Keycloak 在下面使用 Wildfly 而不再使用它并使用 quarkus? (now here can quarkus distribution work fine with wildfly settings we currently have) (现在 quarkus 分布可以在我们目前拥有的 wildfly 设置下正常工作)

Unfortunately, it has nothing to do with WildFly anymore.不幸的是,它已经与 WildFly 无关了。 Until recent versions, the Keycloak was being packaged as a Java EE archive file (or as WildFly module) that you could deploy into WildFly application server.在最近的版本中,Keycloak 被打包为一个 Java EE 存档文件(或作为 WildFly 模块),您可以将其部署到 WildFly 应用程序服务器中。

Quarkus on the other hand is a framework to develop cloud native Java applications.另一方面,Quarkus 是一个用于开发云原生 Java 应用程序的框架。 It's runtime relies on many open source projects for underlying services (eg Vertx, SmallRye projects, etc.) and has a completely different architecture.它的运行时依赖于许多底层服务的开源项目(例如 Vertx、SmallRye 项目等),并且具有完全不同的体系结构。 As part of such a migration, Keycloak is now being packaged as an standalone java application (that is a typical output for an app developed using Quarkus) and contains all its dependencies.作为此类迁移的一部分,Keycloak 现在被打包为一个独立的 java 应用程序(对于使用 Quarkus 开发的应用程序,这是典型的 output)并包含其所有依赖项。 So there is no deployment/installation on WildFly anymore.所以 WildFly 上不再有部署/安装。

Quarkus applications are being designed by default to be run on cloud environments like Kube.netes. Quarkus 应用程序默认设计为在 Kube.netes 等云环境中运行。 So you may also require to consider if you can benefit from this if you have such an infrastructure in your organization (however it's not mandatory and you can just run it as a normal java app on your server).因此,您可能还需要考虑如果您的组织中有这样的基础架构,您是否可以从中受益(但这不是强制性的,您可以在服务器上将其作为普通的 java 应用程序运行)。 But you can definitely not use your WildFly specific configurations (eg the Keycloak subsystem or OpenID subsystem) anymore.但是你绝对不能再使用你的 WildFly 特定配置(例如 Keycloak 子系统或 OpenID 子系统)。

You can find more details here .您可以在此处找到更多详细信息。

Quarkus is a variation of Wildfly that is packaged in such a way as to make containerization (ie Docker, Kube.netes, etc.) much easier. Quarkus是 Wildfly 的变体,其打包方式使容器化(即 Docker、Kube.netes 等)变得更加容易。 Applications written for Wildfly (and JEE in general) can be made to run in Quarkus quickly.为 Wildfly(和一般的 JEE)编写的应用程序可以在 Quarkus 中快速运行。

Wildfy 25 and above include OIDC functionality internally. Wildfy 25 及更高版本在内部包含 OIDC 功能。 Therefore, you don't need to install the Keycloak extensions like you used to.因此,您不需要像以前那样安装 Keycloak 扩展。 And Keycloak, as of version 15, is based on Quarkus too. Keycloak,从版本 15 开始,也是基于 Quarkus 的。 Because of this there is a build phase of the installation that lets you set many of the options before the run phase.因此,安装的构建阶段允许您在运行阶段之前设置许多选项。 For example, I used to setup a data source in the standalone.xml for my database.例如,我曾经在standalone.xml中为我的数据库设置一个数据源。 Now, I use the resources.properties to setup my database for Keycloak.现在,我使用resources.properties为 Keycloak 设置我的数据库。 The concepts are similar.这些概念是相似的。

If you're using a version of Wildfly less than 25 then you'll still want the Keycloak adapter.如果您使用的 Wildfly 版本低于 25,那么您仍然需要 Keycloak 适配器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM