[Bug 347484] / - > ${/} in some paths in grant codebases
This commit is contained in:
parent
fde7831a81
commit
281bb12689
|
@ -1,6 +1,6 @@
|
|||
// This file contains permissions related to jmx support
|
||||
|
||||
grant codeBase "file:${jetty.home}/lib/-" {
|
||||
grant codeBase "file:${jetty.home}${/}lib${/}-" {
|
||||
|
||||
// related to using JMX
|
||||
permission javax.management.MBeanTrustPermission "register";
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// doPrivledged freeing any further permissions being required to this
|
||||
// module.
|
||||
|
||||
grant codeBase "file:${jetty.home}/start.jar" {
|
||||
grant codeBase "file:${jetty.home}${/}start.jar" {
|
||||
|
||||
permission java.io.FilePermission "${jetty.home}${/}-", "read";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// provided.
|
||||
|
||||
|
||||
grant codeBase "file:${jetty.home}/work/-" {
|
||||
grant codeBase "file:${jetty.home${/}work${/}-" {
|
||||
permission java.io.FilePermission "${jetty.home}${/}webapps${/}-", "read"; // Ought to go up a specific codebase
|
||||
permission java.io.FilePermission "${jetty.home}${/}work${/}-", "read";
|
||||
permission java.util.PropertyPermission "org.eclipse.jetty.util.log.class", "read";
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// Review of this file is recommended and possible tweaking of the codeBase
|
||||
// is likely in the future.
|
||||
|
||||
grant codeBase "file:${jetty.home}/lib/-" {
|
||||
grant codeBase "file:${jetty.home}${/}lib${/}-" {
|
||||
|
||||
permission java.lang.RuntimePermission "getClassLoader";
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
// the tmp directory is where webapps are unpacked by default so setup their restricted permissions
|
||||
//
|
||||
grant codeBase "file:${java.io.tmpdir}/-" {
|
||||
grant codeBase "file:${java.io.tmpdir}${/}" {
|
||||
|
||||
permission java.io.FilePermission "${jetty.home}${/}webapps${/}-", "read"; // Ought to go up a specific codebases
|
||||
permission java.io.FilePermission "${java.io.tmpdir}${/}-", "read";
|
||||
|
@ -19,10 +19,10 @@ grant codeBase "file:${java.io.tmpdir}/-" {
|
|||
//
|
||||
// some operating systems have tmp as a symbolic link to /private/tmp
|
||||
//
|
||||
grant codeBase "file:/private${java.io.tmpdir}/-" {
|
||||
grant codeBase "file:/private${java.io.tmpdir}${/}-" {
|
||||
|
||||
permission java.io.FilePermission "${jetty.home}${/}webapps${/}-", "read"; // Ought to go up a specific codebase
|
||||
permission java.io.FilePermission "/private/${java.io.tmpdir}/-", "read";
|
||||
permission java.io.FilePermission "/private/${java.io.tmpdir}${/}-", "read";
|
||||
permission java.util.PropertyPermission "org.eclipse.jetty.util.log.class", "read";
|
||||
permission java.util.PropertyPermission "org.eclipse.jetty.util.log.stderr.DEBUG", "read";
|
||||
permission java.util.PropertyPermission "org.eclipse.jetty.util.log.IGNORED", "read";
|
||||
|
|
Loading…
Reference in New Issue