File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
LDAP with JNDI trouble
Joined: Mar 08, 2004
Oct 02, 2009 16:41:20
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!
I agree. Here's the link:
subject: LDAP with JNDI trouble
after JNDI realm Authentication, need further specificity on authentication
OpenLdap Authentication migration from Jboss5.1 to WebLogic 10.3.3
Configure JNDI Realm
JSP and Active Directory Integration
how to redirect to success page in tomcat using its lapd configuration
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014