用于查询 LDAP 的 Java API

2024-05-10Java开发问题
2

本文介绍了用于查询 LDAP 的 Java API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我希望查询 LDAP 服务器以从中检索所有用户条目.我遇到了一些图书馆

I am looking to query LDAP server to retrieve all the user entries from it. I have come across some libraries

  1. OpenLDAP
  2. LDAP SDK
  3. Mozilla 目录
  4. Apache 目录 API

我的要求是查询像 AD 服务器这样的 LDAP 实现中的所有用户、易于编程和图书馆周围的良好社区.我在这里找不到明显的赢家.谁能告诉我广泛使用且功能强大的 API?

My requirements would be to query all users in an LDAP implementation like AD Server, ease of programming and good community around the library. I don't find a clear winner here. Can someone tell me the widely used and robust API?

推荐答案

与 Java 一起使用的最佳 API 是 UnboundID LDAP SDK.它清晰、完整、完全实现了 LDAP 标准规范、易于使用和理解、文档齐全、线程安全,而且标准版是免费的.甚至没有其他 API 能比得上.

The best API to use with Java is the UnboundID LDAP SDK. It's clear, complete, fully implements the LDAP standard specification, easy-to-use and understand, fully documented, thread-safe where it should be, and the standard edition is free. No other API even comes close.

  • 使用 UnboundID LDAP SDK 的 LDAP 示例

这篇关于用于查询 LDAP 的 Java API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

如何使用 JAVA 向 COM PORT 发送数据?
How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)...
2024-08-25 Java开发问题
21

如何使报表页面方向更改为“rtl"?
How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)...
2024-08-25 Java开发问题
19

在 Eclipse 项目中使用西里尔文 .properties 文件
Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)...
2024-08-25 Java开发问题
18

有没有办法在 Java 中检测 RTL 语言?
Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)...
2024-08-25 Java开发问题
11

如何在 Java 中从 DB 加载资源包消息?
How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)...
2024-08-25 Java开发问题
13

如何更改 Java 中的默认语言环境设置以使其保持一致?
How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)...
2024-08-25 Java开发问题
13