使用现有MySQL数据库进行用户身份验证的Keycloak用户联合 [英] Keycloak User federation using existing MySQL database for users authentication

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

问题描述

我正在尝试为我们的组织机构设置Keycloak服务器.我有几个问题.

I am trying to setup Keycloak server for our organisation. I have couple of questions.

  1. 我们如何使用现有的用户数据库对用户进行身份验证-用户联合. Keycloak仅具有LADP/Kerberos选项.是否有任何可用于MySQL用户身份验证的自定义插件,或者我们是否可以通过数据库的某些适配器使用现有的连接器本身(LDAP/Kerberos)?
  2. 在Keycloak环境中是否可以有多个身份提供程序-(将Keycloak用作少数服务的IDP,而将Keycloak Google IDP用于其他服务).

我已经遵循了官方文档,但是由于某些原因无法查看

I have followed the official documentation, but for some reason not able to view the content of the link. Any helpful links to proper guide would be great.

推荐答案

您应该实现自己的用户存储SPI,以将MySQL数据库集成为外部用户存储数据库

You should implement your own user storage SPI to integrate your MySQL db as an external user storage db

https://www.keycloak.org/docs/latest/server_development/index.html#_user-storage-spi

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

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