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: [email protected]
Reporter: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]