You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/06/26 00:09:39 UTC
DO NOT REPLY [Bug 25238] -
codebase in catalina.policy doesn't work
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
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|Windows 9x |Windows XP
------- Additional Comments From markt@apache.org 2004-06-25 22:09 -------
I can reproduce this under WinXP on TC4 and TC5.
I have a simple test application that is deployed in exploded form. A JSP
contains a single call to <%=test.Bug25238.getUserHome() %>
The class is located at ${catalina.home}/webapps/Bugfix/WEB-
INF/classes/test/Bug25238.class
(as expected)
This enables the JSP to work:
grant codeBase "file:${catalina.home}/webapps/Bugfix/-" {
permission java.util.PropertyPermission "user.home", "read";
};
This one doesn't:
grant codeBase "file:${catalina.home}/webapps/Bugfix/WEB-INF/classes/-" {
permission java.util.PropertyPermission "user.home", "read";
};
I have tried various combinations and it seems that any codeBase below
the /webapps/Bugfix/ gets ignored.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org