DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=25238>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=25238 codebase in catalina.policy doesn't work [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2004-06-27 18:09 ------- Thanks Bill, spot on. I thought I must be missing the blindingly obvious ;) To summarise, all code sources in the stack must have the necessary permission. Both the test case in the original bug report and my own test case failed to give the JSP the necessary permission. (Permissions for uncompiled JSPs are those granted to the context root directory - see the security manager HOWTO for more info.) The following set of permissons allowed my test case to work as expected: // For the class grant codeBase "file:${catalina.home}/webapps/Bugfix/WEB-INF/classes/-" { permission java.util.PropertyPermission "user.home", "read"; }; // For the JSP grant codeBase "file:${catalina.home}/webapps/Bugfix/" { permission java.util.PropertyPermission "user.home", "read"; }; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]