Simple and efficient JSON web API for directory access

Json2Ldap provides a simple and unified JSON-RPC 2.0 web API for accessing LDAP directories, such as MS Active Directory, Novell eDirectory, OpenDJ or OpenLDAP. Central user authentication, directory search, retrieval and management of user / group information - all this and a lot more becomes possible now with simple JSON over HTTP.


With Json2Ldap you can:

  • Create a secure endpoint for provisioning and synchronising user account information to your cloud / web / SaaS apps.
  • Provide web clients, including JavaScript apps, with a mean to access directory data.
  • Save development effort by utilising a simple web API; you no longer need to deal with LDAP client libraries.

Check out the online Json2Ldap demo to see what you can do with just a few lines of JavaScript.

Deploy once, use for all your web client apps and directory servers

Deployed once within your organisation Json2Ldap can serve as a central endpoint for all your web client apps to access one or more back-end directory servers concurrently. You save development, maintenance and administration time.

Access and security

You can run Json2Ldap in unrestricted mode or you can configure it to enforce a connection policy:

  • Limit access to selected LDAP servers only
  • Limit access to selected LDAP operations type, such as read-only
  • Require TLS/SSL for inbound and/or outbound connections
  • Require all clients to authenticate with LDAP "bind"
  • Impose connection quotas per client IP or bind DN
  • Expire LDAP connections after a specified idle or total connection time

Simple setup, configuration and use

Json2Ldap is delivered as a web application archive (WAR) ready for immediate deployment in a standard Java web server, such as Apache Tomcat. Configuration is done through a simple text file. The JSON-RPC 2.0 requests are received by HTTP POST.

Check out our quick start guide, it takes literary minutes to get Json2Ldap up and running.

Example directory search request

JSON-RPC is an simple and efficient protocol for accessing web services, which has optional support for asynchronous messaging. Here an example Json2Ldap request to search the directory for a user with given name "Alice":

  "method"  : "ldap.search",
  "params"  : { "CID" : "096032ca-ca91-47eb-a366-143832ff4a26",
                "baseDN" : "ou=people,dc=my,dc=org",
                "scope"  : "SUB",
                "filter" : "(givenName=Alice)" },
  "id"      : "0001",
  "jsonrpc" : "2.0" 

Example search response:

  "result"  : { "objectClass" : [ "top", "person", "inetOrgPerson" ],
                "uid"         : [ "alice" ],
                "mail"        : [ "[email protected]" ],
                "sn"          : [ "Kingsleigh" ],
                "cn"          : [ "Alice Kingsleigh" ],
                "initials"    : [ "AK" ],
                "mobile"      : [ "+44 755 123 456" ] },
  "id"      : "0001",
  "jsonrpc" : "2.0"

Further information

  • Online demo Live demo Json2Ldap featuring three JavaScript apps.

  • Datasheet Json2Ldap system requirements, API and configuration.

  • Quick start How to get Json2Ldap up and running in 10 minutes.

  • Configuration The complete Json2Ldap configuration manual.

  • Web API Explore the Json2Ldap web API.

  • Error codes Listing of the Json2Ldap error codes and messages.

  • Road map Ideas for future development of Json2Ldap.

  • FAQ Some more or less frequently asked questions.

Contact us if some questions have been left unanswered or if you wish to receive a personal consultation.


Ready to try out Json2Ldap? You are welcome to download an evaluation copy. No registration is required for that.

Download Json2Ldap

The software comes in a standard Java WAR package ready for immediate deployment. Check out the installation instructions for details.

Json2Ldap is offered under an affordable licence. The price also provides you with maintenance, updates and our support for the first 12 months. Discounts are available if you wish to run multiple instances or would like to integrate Json2Ldap into your own product or service offerings. We also offer various dedicated services such as integration assistance, training and custom add-on development. Get in touch with sales to request a quote.