LDAP 查询中是否可以连接?

2022-01-17 00:00:00 ldap java

我一直在做一些简单的查询,到目前为止一切正常.但是,我想在两个对象之间进行连接.LDAP 是否像 SQL 一样支持连接?示例联接在查询中的外观如何?我是否必须改为执行多个查询?

I've been doing some simple queries and so far things work. However, I would like to do a join between two objects. Does LDAP support joins like SQL does? How would an example join look like in a query? Do I have to execute multiple queries instead?

推荐答案

UnboundIDDirectory Server 和商业版 LDAP SDK 支持 JoinRequestControl,它提供的功能非常类似于 SQL 连接.除此之外,LDAP 规范中不支持标准化的 JOIN.

The UnboundID Directory Server and the commercial edition of the LDAP SDK supports the JoinRequestControl, which provides functionality very much like a SQL join. Other than that, there is no support for a standardized JOIN in the LDAP specifications.

相关文章