Hi Ranchers, I am currently working on a financial application. Developed in JSP & Servlets. Act. we hav another application for automating our branches we called it Branch Banking System (BBS). In BBS all userids and passwords are saved in LDAP(Lightweight Directory Access Protocol). Now application i am developing needs to be authenticate through same LDAP. I need to knw how can i authenticate it via Java.. Do we have ne APIs for it.
You can access LDAP using JNDI. Check the forum under Other API's and search for JNDI. If the LDAP you're using is Active Directory, you'll have some additional considerations. Look thru your search for help with your specific LDAP server. I know very little about it(JNDI, LDAP), but I found some help there. If you get really desperate, give a hollar and I can show you a little ditty that hits Active Directory, but it is incomplete and I can't find the rest of the answer to its problem. I've abandoned it for now and will return to it later. Good luck. Robyne
Joined: Jun 04, 2003
Oops! Actually, JNDI is covered under the forum EJB and other J2EE ... sorry, Robyne
How to use LDAP depends on what application server you're using. If you're using WebLogic or WebSphere you don't have to write any code -- the vendors provide LDAP authentication for you. If you're using Tomcat, then you'll have to do some work on your own. Kyle