Nimbus Directory Services

Json2Ldap Specification

JSON-RPC web service for LDAP directory access

The Json2Ldap is a JSON-RPC 2.0 gateway / proxy service for accessing directories over the web. It accepts requests over HTTP(S) POST.

LDAP v3 compatibility

Json2Ldap is compatible with directories supporting the current version 3 of the Lightweight Directory Access Protocol (LDAP).

Popular proprietary directory servers:

Open source directory servers:

Web API

Json2Ldap handles JSON remote procedure call (RPC) requests for all standard directory operations as well as requests for a few useful LDAP extensions. See the Json2Ldap web API.

Directory connection Directory authentication Directory read and search
Directory write operations Extended directory operations Utility functions
Directory schema information SRP-6a authentication
Web service information

Deployment

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

Configuration

Json2Ldap allows for comprehensive configuration by a set of parameters specified in the standard WEB-INF/web.xml web app descriptor file. See the Json2Ldap configuration for details.

Client interface LDAP connections
Default LDAP connection
Custom trust / key store for TLS/SSL LDAP SRP-6a authentication
In-memory directory server Cross-Origin Resource Sharing (CORS)
Logging

Logging

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

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

System requirements and dependencies

Json2Ldap requires a web server conforming to the Java servlet specification, such as Apache Tomcat or Jetty:

All package dependencies are included in the Json2Ldap WAR file for convenience.

Change log