简体   繁体   English

Openfire,LDAP和外部数据库身份验证

[英]Openfire, LDAP and External database authentification

I have users on a Mysql DB and LDAP (Directory server), is it possible to connect users using both methods on Openfire server? 我在Mysql DB和LDAP(目录服务器)上有用户,是否可以在Openfire服务器上使用这两种方法来连接用户? When I tried to connect to an external database on the profile settings, openfire gives me a choice between default or LDAP, so I chose the default and I've edited the openfire.xml and I've added properties to the ofproperty table in the database. 当我尝试通过配置文件设置连接到外部数据库时,openfire允许我在默认值或LDAP之间进行选择,因此我选择了默认值,然后编辑了openfire.xml,并在数据库。

You will need to create a custom authentication provider to do that. 您将需要创建一个自定义身份验证提供程序来执行此操作。 You can probably just create a composite of the existing JDBC and LDAP providers to accomplish what you want. 您可能只需创建现有JDBC和LDAP提供程序的组合即可完成所需的操作。

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

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