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.
robyne vaughn
Ranch Hand
Joined: Jun 04, 2003
Posts: 36
posted
0
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
robyne vaughn
Ranch Hand
Joined: Jun 04, 2003
Posts: 36
posted
0
Oops! Actually, JNDI is covered under the forum EJB and other J2EE ... sorry, Robyne
Joel McNary
Bartender
Joined: Aug 20, 2001
Posts: 1815
posted
0
As robyne pointed out, this really belongs in the J2EE forum, so I'm moving it there....
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
posted
0
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