I have a Tomcat server that I want to set up a JNDI realm for LDAP to my domino server.
I need to have the servlet user authenticated by our domino server keeping a single point of user management with the other resources available to them.
I am having trouble getting this working.
Here is the realm snippet from my server.xml file in my tomcat.
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
connectionURL="ldap://192.168.168.21:389"
userPattern="uid={0},dc=my-actual-company-here,dc=com"
roleBase="ou=groups,dc=my-actual-company-here,dc=com"
roleName="cn"
roleSearch="(uniqueMember={0})"
/>
What am I missing?
Notes:
I do have the user currently accessing a HTML file located on the domino server with authentication but now my management would like to have the user name logged with each access. Since this information is not available via JavaScript I need to transfer the authentication to the tomcat server via LDAP.