tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TahitianGabriel <glan...@piti.pf>
Subject Re: FW: JNDIRealm and roleNested
Date Thu, 29 Oct 2009 03:15:13 GMT

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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message