Hi, It's working great with roleSearch="(member={0})", but not with roleSearch="(member={1})"
>From tomcat doc : Use {0} to substitute the distinguished name (DN) of the user, and/or {1} to substitute the username. I guess line : filter = roleFormat.format(new String[] { groupDN }); should be changed into something like filter = roleFormat.format(new String[] {null, groupDN }); when roleSearch is using {1} I'm using Domino 8.5 Ldap. Regards, Gabriel. Mark Thomas wrote: > > Payne, George (ghp5h) wrote: >> I have tested this and it does exactly what I'd hoped. I tested it with >> tomcat 6.0.20 as described > > Many thanks for testing this. I have proposed the patch for Tomcat 6. > > Mark > > -- View this message in context: http://www.nabble.com/JNDIRealm-and-roleNested-tp24756476p26105463.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org