https://issues.apache.org/bugzilla/show_bug.cgi?id=48629
Summary: JNDIRealm and roleNested doesn't work with
roleSearch="(member={1})"
Product: Tomcat 6
Version: 6.0.24
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=24898)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24898)
patch
roleNested introduced with Tomcat 6.0.24 works well 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've attached a patch to change line :
filter = roleFormat.format(new String[] { groupDN });
into :
filter = roleFormat.format(new String[] { groupDN, groupDN });
Like that it handles both {0} and {1}.
Regards,
Gabriel.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]