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
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!
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: LDAP with JNDI trouble
after JNDI realm Authentication, need further specificity on authentication
JSP and Active Directory Integration
Configure JNDI Realm
OpenLdap Authentication migration from Jboss5.1 to WebLogic 10.3.3
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