The goal of this library is to enable easy interaction with any LDAP Directory Server by hiding all the related communication issues and internal bits-and-bytes, says the creator.
Imperva, a leading global provider of best-in-class cybersecurity solutions, has publicly released the source code to Domain Directory Controller (DDC), an Active Directory Java software development kit (SDK) designed to simplify AD interaction for small, medium and large projects.
Unlike Java’s base LdapContext, this library makes use of Apache Directory LDAP to simplify work such as managing primary/secondary server connections, query pagination, and automatic reconnection attempts, InfoQ reported.
DDC also provides an abstraction API over top of the LDAP query syntax. This API provides an enumeration of Active Directory fields, giving developers an easy and statically-typed way of building working queries.
This SDK was created by Gabriel Beyo, principal engineer, Imperva.
Gabriel Beyo says-
Until now, in order to communicate with an AD server, we’d have to handle a host of issues manually; connection retries, switching between primary & secondary servers, performing queries against multiple servers, paging results and several other known-issues which might not be directly related to the task at hand. An additional pain in the neck was the LDAP protocol we’d have to learn and understand in order to perform our queries against the AD server.
DDC was designed with developers in mind, to help free up precious time for the ‘big’ tasks. The goal of this library is to enable easy interaction with any LDAP Directory Server by hiding all the related communication issues and internal bits-and-bytes.
DDC is available under an Apache 2 license. Source files, full documentation, and a starter kit project can be found in Imperva’s official Open Source repository.