LDAPclient Plug-in

Log into any LDAP server.

home Introduction
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® .
lightbulb_outline Benefits
  • 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.
swap_vertical_circle Compatibility
Smart client Headless client Web client Mobile client NG client
8.0+ 1.6+ check remove remove remove check check check check
7.0+ 1.6+ check remove remove remove n/a check check check
6.1+ 1.6+ check remove remove n/a n/a check check check
Depending on the used LDAP Server (not included) functionality may or may not be available.
code How to Use
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.
bookmark FAQ
  • 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.

description Release Notes
shop Buy Now
Developer
License
€ 250,00
One developer
&
unlimited deployment
€ 65,00 p/y
maintenance fee
Site
License
€ 600,00
Team of developers
&
unlimited deployment
€ 150,00 p/y
maintenance fee
Upgrade
License
€ 400,00
You already have a Single Developer license
€ 150,00 p/y
maintenance fee
Source
License
discuss
When you want to have access to the source code
not applicable