It's not a secret anymore!
The moose likes Tomcat and the fly likes ldap authentication using jndi realm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "ldap authentication using jndi realm" Watch "ldap authentication using jndi realm" New topic

ldap authentication using jndi realm


Joined: Aug 30, 2002
Posts: 2
I am authenticating user in web application using ldap.
My doubt is:
Let i want a user: user1 password: pass1 to authenticate.
So i define the role in web.xml. But before searching this user in ldap directory when tomcat connects to ldap it must be authorized to use ldap. But i am no where specifying the root password of ldap (using openldap).
Without this how ldap allows tomcat to search in the directory
I agree. Here's the link:
subject: ldap authentication using jndi realm
jQuery in Action, 3rd edition