You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2023/06/22 07:43:15 UTC
[Bug 66665] New: Provide option to supply role mapping from a properties file
https://bz.apache.org/bugzilla/show_bug.cgi?id=66665
Bug ID: 66665
Summary: Provide option to supply role mapping from a
properties file
Product: Tomcat 9
Version: 9.0.76
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: michaelo@apache.org
Target Milestone: -----
Note: This applies to all Tomcat versions
In enterprises you often use a centralized identity store where you do not have
control over the group/roles names, but in your application you want to use
friendly role names, e.g., 'admin', 'user', 'clerk', etc. Luckily realms
utilize Context.findRoleMapping(String) indirectly, so we only need to
populate those mappings.
I have written such a mapping listener and would like to integrate it into
upstream:
https://mo-tomcat-ext.sourceforge.net/apidocs/net/sf/michaelo/tomcat/extras/listeners/PropertiesRoleMappingListener.html
if there is a general interest, I guess there is. There code is straight
forward:
https://sourceforge.net/p/mo-tomcat-ext/code/HEAD/tree/trunk/src/main/java/net/sf/michaelo/tomcat/extras/listeners/PropertiesRoleMappingListener.java
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66665] Provide option to supply role mapping from a properties file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66665
--- Comment #1 from Michael Osipov <mi...@apache.org> ---
PR provided.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66665] Provide option to supply role mapping from a properties file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66665
Michael Osipov <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michaelo@apache.org
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66665] Provide option to supply role mapping from a properties file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66665
Michael Osipov <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Michael Osipov <mi...@apache.org> ---
Fixed in:
- main for 11.0.0-M8 and onwards
- 10.1.x for 10.1.11 and onwards
- 9.0.x for 9.0.77 and onwards
- 8.5.x for 8.5.91 and onwards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66665] Provide option to supply role mapping from a properties file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66665
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stefan@mayr-stefan.de
--- Comment #3 from Mark Thomas <ma...@apache.org> ---
*** Bug 55477 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org