Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java API to query 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 Directory
  4. Apache Directory 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?

like image 648
saravanan07 Avatar asked Mar 25 '13 15:03

saravanan07


1 Answers

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.

see also

  • LDAP Examples using the UnboundID LDAP SDK
like image 195
Terry Gardner Avatar answered Oct 14 '22 03:10

Terry Gardner