• Post Reply Bookmark Topic Watch Topic
  • New Topic

LDAP and JNDI  RSS feed

 
Sobha George
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to authenticate a user against LDAP server and get the information about the user from the server. So far I found ways to Authenticate user by creating a context with the environment variables. But this does not return attributes of this user. So I have to search for this user again and get attributes. Does anybody know any better way of doing it, I am looking for a way to do both in one connection/call/something... Any help would be greatly appreciated.
Thank you,
Shobha
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This forum is for questions regarding the Site. I'm going to move this post to Distributed Java Forum.
[ April 25, 2002: Message edited by: Carl Trusiak ]
 
Don Schaefer
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am confident that this is a two part call. First you must get a context. While getting the context you will perform an authentication. Depending on the identification that you authenticate with you may be able to retrieve information. Depending upon the sub-context you are retrieving you may be able get the data you are looking for in a single call.
I am not sure if I helped....
don.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!