Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

LDAP authentication improvement

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I noticed (and please correct me if i�m wrong) that the only way to validate a user login against a LDAP service is using the user and password provided in the login page to connect to LDAP service and search inside for some attributes.

I�m now trying to configure jforum to work in a different scenario, where i have an unique user/pass to access the ldap server and the user/pass provided in the login page must be searched in the LDAP directory.

the class that do the work is LDAPAuthenticator and the method is the following:



Does anyone have an implementation of what i want to do? If I do it, would you like to include it to improve Jforum?

Any comments?
Cheers!
JG
[originally posted on jforum.net by jgallardo]
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!