Register / Login
Win a copy of
The Java Performance Companion
this week in the
LDAP with JNDI trouble
posted 6 years ago
I am setting up my
JNDI realm as:
I am only able to log onto Tomcat Manager if I set
userRoleName="cn", when as an attribute = "Ken Rubin". In web.xml for the Tomcat manager, I had to
set my name as a role. ie.
My directory in LDAP is at "CN=Ken Rubin,OU=Development,OU=Corporate,DC=mycompany,DC=com".
I had wished to set userRoleName="memberOf" and return the roles for me, one these roles would be in my web.xml
instead of Ken Rubin. But I have been unable to do this.
One thing I noticed is that none of our company roles have any attributes listed under them.
Also I don't know how to get the logger to give me more possible information about why I am failing.
Any help would be greatly appreciated!
It is sorta covered in the
JavaRanch Style Guide
after JNDI realm Authentication, need further specificity on authentication
how to redirect to success page in tomcat using its lapd configuration
JSP and Active Directory Integration
Configure JNDI Realm
OpenLdap Authentication migration from Jboss5.1 to WebLogic 10.3.3