If you do not have an LDAP-compliant server, you can use an open-source server (such as ApacheDS), and a client (such as Apache Directory Studio) that provides access to that server. To install ApacheDS and Apache Directory Studio, see Configuring LDAP-compliant software.

The com.ibm.egl.rui project is created automatically when you use the Create an EGL Rich UI project wizard. If you do not have this project, click Get the dependency project to import it into your workspace on the Rich UI access to LDAP page.
To run the sample, do the following:
providerUrl String = "ldap://localhost:389/o=sample";
workspace/LdapRuiSample/
To prevent an authentication error, make sure that the ApacheDS directory server is started. For the instructions to start the server, see the end of Configuring LDAP-compliant software.