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. Advertising

  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. Advertising

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. DigitalUncle
    Replies:
    0
    Views:
    925
    DigitalUncle
    Nov 2, 2004
  2. Replies:
    1
    Views:
    556
    Andrea Desole
    Dec 14, 2005
  3. Replies:
    1
    Views:
    536
    Raymond DeCampo
    Feb 21, 2006
  4. Replies:
    0
    Views:
    4,419
  5. rcmn
    Replies:
    1
    Views:
    343
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Nov 6, 2006
Loading...

Share This Page