rmaucher commented on pull request #399:
URL: https://github.com/apache/tomcat/pull/399#issuecomment-752472614


   @markt-asf If you really want to encourage this, there is the privileged 
flag on the Context that allows using container servlets.
       public Request getRequest() {
           if (request.getContext().getPrivileged()) { return request; } else 
throw new SecurityException(); // :)
       }


----------------------------------------------------------------
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.

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