looking for code to query LDAP database from java class or JSP

T

terry433iid

I am writing a Java app and at the login stage only need to accept a
userID (int), our LDAP database has complete listing of all user data
including userID
So I want to lookup a given userID from my login class (or JSP) and -
if userID present in LDAP database - allow user to proceed with the
application
Anyone know where I can see some sample code to get up to speed
quickly here
Thanks
 
N

Nigel Wade

I am writing a Java app and at the login stage only need to accept a
userID (int), our LDAP database has complete listing of all user data
including userID
So I want to lookup a given userID from my login class (or JSP) and -
if userID present in LDAP database - allow user to proceed with the
application
Anyone know where I can see some sample code to get up to speed
quickly here
Thanks

This might be a good place to start:

http://java.sun.com/products/jndi/tutorial/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top