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 2015/03/12 20:14:09 UTC

[Bug 57687] securitymanager: codeBase cannot be denoted if unpackWARs=false

https://bz.apache.org/bugzilla/show_bug.cgi?id=57687

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
WARs use the same format as JARs so the URL for codebase is the same is the URL
for any resource inside a JAR. e.g.:

grant codeBase
"jar:file:${catalina.base}/webapps/bug57687.war!/WEB-INF/lib/test-lib.jar" {
    permission java.security.AllPermission;
};

-- 
You are receiving this mail because:
You are the assignee for the bug.

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