Keycloak用户联合身份验证 [英] Keycloak user federator

查看:737
本文介绍了Keycloak用户联合身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试将新的自定义Federator放入Keycloak,因此我已将mvn clean install创建的jar文件按照

I'm trying to put my new custom Federator in Keycloak so I've compiled my jar filed created using mvn clean install into standalone/configuration/providers following this guide.

然后,我重新启动了Wildfly 8服务器,但它似乎没有注册我的客户联合身份验证提供商.

I then restarted the Wildfly 8 server but it doesn't seem to register my customer Federation provider.

有什么不起作用的原因吗?

Is there a reason why this isn't working?

推荐答案

添加文件

META-INF/services/org.keycloak.models.UserFederationProviderFactory

包含您的自定义提供程序的完整类名工厂. 例如 be.abc.def.MyCustomProviderFactory

containing the full classname of your custom provider factory. For example be.abc.def.MyCustomProviderFactory

重新启动Wildfly,应该在用户>联合身份>添加提供者下拉列表中按其ID列出提供者工厂(而不是提供者本身).

Restart Wildfly and the provider factory (not the provider itself) should be listed in the Users > Federation > Add provider dropdown by its id.

这篇关于Keycloak用户联合身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆