Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Tomcat and the fly likes TOMCAT set up for LDAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "TOMCAT set up for LDAP" Watch "TOMCAT set up for LDAP" New topic

TOMCAT set up for LDAP

Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
My understanding of TOmcat dcoumentation is as below:

Tomcat web.xml config file can be set up to point to LDAP. Only thing I need to set up there is LDAP URL, LDAP root login/password(for searching LDAP).

Having done that if I set up tomcat for basic authontication and if user types in his ldap userid/password the tomcat should be able to authonticate the supplied user credentials against ldap. We do not have to create any users in tomcat as the authontication is done really against ldap.

Is this a right understanding? I wish i can try this on my own but still am far away from that moment. I am just trying to confirm my views here.
It is sorta covered in the JavaRanch Style Guide.
subject: TOMCAT set up for LDAP
Similar Threads
LDAP simple authontication Error
ldap authentication using jndi realm
JAAS Configuration gives Authontication Failure Error
JAAS Configuration gives Authontication Failure Error
Authontication module not properly working