Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LDAP Authentication  RSS feed

 
Rajesh Agarwal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My system currently uses an application level authentication. We need to migrate to a LDAP authentication. In the sense that, the users will be set up in the LDAP tree and the system should connect to the LDAP and authenticate the user against it.

Anyone has any idea or code on this. I would like to know how to connect to the ldap server and retrieve data with some criteria.
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First way is using your application server facilities to create an LDAP realm and, define role mapping and security constraint in your web/ ejb descriptor.

The other way could be using manually checking username and password by bynding the user with provided password to LDAP server in order to check validity of user credential.

Please explain more about your application and for sure members will help you.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!