I ha开发者_开发百科ve to implement LDAP authentication with eDirectory in Java application. I guess some of you have tried this solution. Can you share your ideas and if possible sample code?
Java and eDirectory used to have problems back in the day as you can see here http://forums.sun.com/thread.jspa?threadID=547273 and here https://issues.apache.org/bugzilla/show_bug.cgi?id=22236 Hopefully now things are much better. The recent release of classes is about a year ago, http://developer.novell.com/wiki/index.php/LDAP_Classes_for_Java
Simple LDAP authentication with Username and Password is quite straightforward as the accepted answer references from the Developer page at Novell.
Complexity arises when you want to use some other method, like X.509 certs, Smart Cards, biometrics and so on.
精彩评论