I don't think you can with JNDIRealm. If you're on Windows, you might want to try http://waffle.codeplex.com and then use regular security constraints for groups.
dB. @ dblock.org Moscow|Geneva|Seattle|New York -----Original Message----- From: Manish Kashikar -X (mkashika - Zensar at Cisco) [mailto:mkash...@cisco.com] Sent: Thursday, September 30, 2010 4:38 PM To: users@tomcat.apache.org Subject: How to authenticate user against ldap grouper / role Hi Team, We are able to do tomcat + ldap configuration for authentication. But our requirement is to allow only set of users who are part of ldap grouper/role. How to do this setup. <Realm className="org.apache.catalina.realm.JNDIRealm" debug="99" connectionURL=<ldap URL> contextFactory="com.sun.jndi.ldap.LdapCtxFactory" userPattern="uid={0},ou=active,ou=employees,ou=people,o=cisco.com" /> Thanks Manish K --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
