📑 Table of Contents
Apache LDAP API
DeveloperApache Software Foundation
Stable release
2.1.6 / February 6, 2024; 2 years ago (2024-02-06)
Written inJava
TypeApplication programming interface (LDAP)
LicenseApache License 2.0
Websitedirectory.apache.org/api/
RepositoryLDAP API Repository

Apache LDAP API is an open source project of the Apache Software Foundation and a subproject of the Apache Directory. It's a replacement for outdated Java/LDAP libraries like (jLdap, Mozilla LDAP SDK and JNDI) and works with any LDAP server.[1]

History

edit

The Apache Directory project was started using the JNDI library, but many of its LDAP structures had to be developed in-house because the JNDI library was ineffective for interacting with an LDAP server. It wasn't convenient for the project team to use JNDI which indicated to them it wouldn't be easy for typical users either. Eventually, all of the necessary LDAP data structures (_Attribute_, _Entry_, _DN_, ...) were re-implemented by the project team.

At some point it became necessary to communicate with other LDAP servers without using the JNDI library, so a new _LdapConnection_ class was developed. This was the first step toward a full Java API specifically designed for LDAP usage on the Java platform.

After starting this effort (back in 2007), some people from Sun (Microsystems), who was working on the OpenDS project, contacted the Apache Directory project team to gauge interest in helping create a new version of JNDI. ([Resurrecting The Java LDAP Centric API](https://web.archive.org/web/20170102082918/https://blogs.oracle.com/treydrake/entry/resurrecting_the_java_ldap_centric). Unfortunately, the effort stalled, as the need for JNDI2 was no longer a priority for Sun. Nevertheless the Apache Directory team continued with the work but the pace was slow.

Collaboration with Sun renewed after the OpenDS project team's presentation at LdapCon in 2009 ([Towards a common LDAP API for the Java Platform](http://www.symas.com/ldapcon2009/papers/poitou1.shtml[permanent dead link])). The story repeated itself once again after Oracle bought Sun in 2010, and its project team disbanded.

Despite these fits and starts, a consensus was reached about the need for a new LDAP API and what it should be capable of doing. An agreement that these key features should be included:

  • A complete coverage of the LDAP protocol
  • A schema aware API
  • An easy-to-use API
  • An API taking advantage of the new Java construction (generics, ellipsis, NIO)

References

edit
  1. ^ "Welcome to Apache Directory LDAP API — Apache Directory". directory.apache.org. Retrieved 2025-11-12.
edit


📚 Artikel Terkait di Wikipedia

Apache Directory

a Kerberos implementation written in Java. Apache LDAP API - an SDK for directory access in Java. Apache Mavibot - a Multi Version Concurrency Control

List of Apache Software Foundation projects

EE platforms Apache Directory Committee Directory: LDAP and Kerberos, entirely in Java. Directory Server: an extensible, embeddable LDAP and Kerberos

OpenLDAP

OpenLDAP is a free, open-source implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project. It is released under

Apache CloudStack

balancers Multi-role support LDAP, SAML, 2FA End-to-end encryption including secured console, volume and database encryption AWS API compatibility RHEL or CentOS

List of Apache modules

mod_authnz_ldap". Apache HTTP Server 2.4 Documentation. Apache Software Foundation. Retrieved 2022-01-13. "Apache Module mod_authz_core". Apache HTTP Server

Log4Shell

December 2021). "Apache Log4j Vulnerability CVE-2021-44228 Raises widespread Concerns". Retrieved 12 December 2021. "Restrict LDAP access via JNDI by

Apache Fortress

HTML pages of core APIs using Apache Wicket. Fortress was first contributed in 2011 to the OpenLDAP Foundation and moved to the Apache Directory project

Log4j

2021. "Restrict LDAP access via JNDI by rgoers · Pull Request #608 · apache/logging-log4j2". GitHub. 30 November–5 December 2021 "Apache Log4j Security