michael-o commented on PR #631:
URL: https://github.com/apache/tomcat/pull/631#issuecomment-1611007682

   > I like the idea of exposing this feature. I'm somewhat surprised that it 
isn't part of the specification but, unless I am reading the XSDs incorrectly, 
the spec only defines role-mapping on a per Servlet basis which seems odd to me.
   
   Correct and I consider the per-Servlet one as unusable if you have tens of 
them.
   
   > I'm not convinced an extra file configuration is necessary. This looks 
like something that could be a nested element in the context.xml file and 
implemented with an extra digester rule.
   
   Both should be possible because the file could be in the classpath which 
contains more than just the mapping. Just being int he context.xml it not 
available to the actual application, but just some Tomcat. In a future revision 
the source could be done flexible. At least in my usecase, having it in 
context.xml would force me to duplicate the mapping and that is unacceptable.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to