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

Discussion in 'Java' started by terry433iid@yahoo.com, Apr 16, 2008.

  1. Guest

    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
     
    , Apr 16, 2008
    #1
    1. Advertisements

  2. Nigel Wade Guest

    wrote:

    > 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/

    --
    Nigel Wade
     
    Nigel Wade, Apr 16, 2008
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Quick Function

    jsp database query and setup

    Quick Function, Jul 15, 2004, in forum: Java
    Replies:
    0
    Views:
    634
    Quick Function
    Jul 15, 2004
  2. DigitalUncle
    Replies:
    0
    Views:
    1,244
    DigitalUncle
    Nov 2, 2004
  3. E11
    Replies:
    1
    Views:
    5,757
    Thomas Weidenfeller
    Oct 12, 2005
  4. Replies:
    1
    Views:
    719
    Andrea Desole
    Dec 14, 2005
  5. Replies:
    1
    Views:
    717
    Raymond DeCampo
    Feb 21, 2006
  6. Replies:
    0
    Views:
    4,975
  7. Replies:
    1
    Views:
    592
    jamiros
    Apr 15, 2008
  8. Wind
    Replies:
    0
    Views:
    700
Loading...