• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

LDAP Security

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oops! Actually, JNDI is covered under the forum EJB and other J2EE ...
sorry,
Robyne
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As robyne pointed out, this really belongs in the J2EE forum, so I'm moving it there....
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic