Json2Ldap

Technical Specification

Lightweight JSON RPC service

The Json2Ldap gateway/proxy is implemented as a lightweight JSON-RPC 2.0 web service which receives its LDAP operation requests via HTTP POST.

Deployment

The software is packaged as a web application archive (WAR) ready for immediate deployment in a Java servlet container, such as the popular open source Apache Tomcat server.

LDAP support

Json2Ldap can connect to directories supporting the current version 3 of the Lightweight Directory Access Protocol (LDAP). Here is a list of some popular directory servers that are LDAP v3 compliant:

Available RPC requests

The Json2Ldap gateway/proxy handles JSON remote procedure call (RPC) requests resembling all standard directory operations as well as requests for a few useful LDAP extensions and requests for meta-information about the web service.

Directory connection Directory authentication Directory read and search
Directory write operations Extended directory operations Web service information
Directory schema information

Configuration parameters

The Json2Ldap gateway/proxy is configured by a set of parameters located in the standard WEB-INF/web.xml web app descriptor file.

Incoming client connection settings Outgoing LDAP connection settings
Default connection parameters Logging
Custom trust and key store settings for outgoing TLS/SSL LDAP connections

Logging

Json2Ldap uses the popular log4j utility. Here are the event types that can be selectively logged:

Logging is configured via the WEB-INF/log4j.properties file.

System requirements and dependencies

Json2Ldap can run on any relatively recent Java web server:

The gateway/proxy software depends on a number of Java packages, some of them originating in-house, while others coming from third parties. All dependencies are included in the Json2Ldap WAR package, so you don't have to download and deploy them separately!

Thanks to UnboundID and the developers behind JSON.simple and the various Apache projects for making those great packages!

Change log