I am attempting to query a LDAP server to return a Directory Entry based on one of 4 ID’s submitted by the user. I created an Info object to store the LDAP data, but how would I retrieve the data then output it back to the user in a formatted table?
Share
You should use JNDI to do the querying, and a simple tutorial is at:
http://www.stonemind.net/blog/2008/01/23/a-simple-ldap-query-program-in-java/
But here is the main part that should help you: