• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LDAP Connection - The best practice

 
keiwer villabona ruiz
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

I want to make connection between LDAP Server and java code.

my question is what is the best way to do so?

I searched and found the library OPEDLadp.

can you help me with this?
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why?

Java has everything you need already ...



Not going to give you everything, but this is all you really need.


WP
 
keiwer villabona ruiz
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have any example I can see?
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote this to bind to Active Directory (LDAP) and run a simple search.


A simple test program.

Tweak and Enjoy.

WP
 
keiwer villabona ruiz
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks!
 
Leonardo Cândido
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys!

I see this topic, but i have a doubt...

about the and
If I use this to authenticate many users, in my system, I should use this for each user authenticate? this way can be a problem or throw some exception?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic