【发布时间】:2021-10-12 20:18:51
【问题描述】:
我正在尝试遵循最新 (15.0.2) Keycloak 的“入门”程序。
使用WildFly 25.0.0.Final, 更新为 keycloak-oidc-wildfly-adapter-15.0.2
安装 app-profile-jee-vanilla 快速入门示例时发生 WildFly 错误,同时运行命令 'mvn clean wildfly:deploy':
19:58:05,514 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 80) MSC000001: Failed to start service jboss.deployment.unit."vanilla.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."vanilla.war".undertow-deployment: java.lang.RuntimeException: java.lang.IllegalStateException: The required mechanism 'KEYCLOAK' is not available in mechanisms [BASIC, CLIENT_CERT, DIGEST, FORM] from the HttpAuthenticationFactory.
at org.wildfly.extension.undertow@25.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:90)
...
据我所知,KEYCLOAK 机制存在于 standalone.xml 配置文件的 http-authentication-factory 部分中。 任何想法,为什么它不可用?
【问题讨论】:
-
有同样的问题。你有什么成功吗?