LDAP Client Plugin

Easy connections to LDAP servers Connections can by secure or non-secure, Anonymous or Authenticated.


The LDAPclient Plugin for Servoy will give you the ability to log into any LDAP server .

Transmission can be secure (ssl) and non-secure .Connections can by Anonymous or Authenticated .

The LDAPclient Plugin will prove its value in environments where an LDAP server is already in use and setting up a security user database for a Servoy solution would mean duplicating the user data from the LDAP server.
It is under those circumstances that maintenance issues will arise rather sooner than later.
Use the LDAPclient Plugin in combination with solutions as described on the Servoy Wiki and you will have an alternative to the built-in security.

  • Connect to an LDAP server
  • Secure (SSL) and non-secure connections
  • Anonymous and non-anonymous bind
  • Create, edit and retrieve Entries
  • Retrieve attributes by name or methodName
  • Add, edit and delete Passwords

The Plugin is tested against Open LDAP MS Active Directory® Kerio MailServer® and Novell eDirectory® .


  • To create your own log-in/security system.
  • To avoid ‘yet another user database’ (and synchronization errors).
  • To retrieve contacts from an LDAP server.

In short every company with an LDAP server installed will benefit.


Smart client Headless client Web client Mobile client NG client
8.0+ 1.6+
7.0+ 1.6+ n/a
6.1+ 1.6+ n/a n/a

Depending on the used LDAP Server (not included) functionality may or may not be available.


We published our API Specifications for the LDAPclient Plug-in as a future and current reference.

After downloading the LDAPclient Plug-in using our Components Manager a sample solution {servoy_root}/solutions/it2be-examples/it2be-ldapclient.servoy is installed.
You can import the sample solution into Servoy Developer and you will have some (basic) code examples of how to use the LDAPclient Plug-in.


What is the difference between getConnection() and isAuthorized()?

This method a is used to check if a combination of a users login/password is authorized to login to the system using simple authentication. Simple authentication consists of sending the LDAP server the fully qualified DN of the client (user) and the client’s clear-text password.

var vResult = isAuthorized(...)

This method creates a connection object (not a live/open connection) that can be further used for working on the data on the LDAP server.

var vConnection = getConnection(...)
I think I entered the correct data but I can not seem to connect...

This is one of the most tricky questions!
Chances are, when you use this Plugin, that you or your client will have a Network manager.
Ask him/her, they should know.

Unfortunately there are too many possible solutions.

A good help for us, during development, was the LDAP Browser.
It is a (Java) freeware tool and it will give you the base DN once you the url and credentials are correct.

You can find the LDAP Browser/Editor here .

Another cool application is JXBrowser, free as well and available here .

A nice OS X application is available here and we found a Windows application here .

Last but not least there is also an Eclipse (based) LDAP Browser. You can read more about Apache Directory Studio™ here .

I cannot use the Component with Servoy Developer or an Application Server.

Open the Servoy Administration Website (e.g. localhost:8080/servoy-admin/ for a default Servoy Developer installation). Move to ‘Servoy Server Home’ -> ‘Smart Client Settings’ and add it2be.LDAPclientService to ‘servoy.application_server.trustedRemotePlugins’ (you can use a comma as separator).
This should allow the Component to work.





One developer & unlimited deployment

  • +35% p/y
    maintenance fee



Team of developers & unlimited deployment

  • +35% p/y
    maintenance fee