Hello,

I'd like to perform role mapping from technical role names spit out by our realm
to application specific ones like Admin, Translator, Manager, etc. Though, the
aforementioned method should do it but it isn't called anywhere in the code.

I am aware of security-role-ref in web.xml but those mappings are servlet-bound 
which
makes me to repeat myself.

My basic idea is to map them with a properties file for web.xml and 
request#isUserInRole
as an opaque information to the application. I actually had the very same idea 
as in [1]
but I'd like to avoid the overhead.

Am I missing something? How can I make use of it without reinventing the wheel?

[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=55477

Thanks,

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to