• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LDAP Security

 
Ali Hassaan
Ranch Hand
Posts: 103
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops! Actually, JNDI is covered under the forum EJB and other J2EE ...
sorry,
Robyne
 
Joel McNary
Bartender
Posts: 1824
Eclipse IDE Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As robyne pointed out, this really belongs in the J2EE forum, so I'm moving it there....
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic