View | Details | Raw Unified | Return to bug 38352
Collapse All | Expand All

(-)apache-tomcat-5.5.15/conf/catalina.policy (+11 lines)
Lines 75-84 Link Here
75
// located in the "common" directory
75
// located in the "common" directory
76
grant codeBase "file:${catalina.home}/common/-" {
76
grant codeBase "file:${catalina.home}/common/-" {
77
        permission java.security.AllPermission;
77
        permission java.security.AllPermission;
78
};
78
};
79
79
80
//      Add files in the shared classloader hierarchy
81
//      as well.
82
grant codeBase "file:${catalina.base}/shared/-" {
83
        permission java.security.AllPermission;
84
        
85
};
86
80
// These permissions apply to the container's core code, plus any additional
87
// These permissions apply to the container's core code, plus any additional
81
// libraries installed in the "server" directory
88
// libraries installed in the "server" directory
82
grant codeBase "file:${catalina.home}/server/-" {
89
grant codeBase "file:${catalina.home}/server/-" {
83
        permission java.security.AllPermission;
90
        permission java.security.AllPermission;
84
};
91
};
Lines 122-131 Link Here
122
	permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
129
	permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
123
	permission java.util.PropertyPermission "java.vm.specification.name", "read";
130
	permission java.util.PropertyPermission "java.vm.specification.name", "read";
124
	permission java.util.PropertyPermission "java.vm.version", "read";
131
	permission java.util.PropertyPermission "java.vm.version", "read";
125
	permission java.util.PropertyPermission "java.vm.vendor", "read";
132
	permission java.util.PropertyPermission "java.vm.vendor", "read";
126
	permission java.util.PropertyPermission "java.vm.name", "read";
133
	permission java.util.PropertyPermission "java.vm.name", "read";
134
        
135
        permission java.util.PropertyPermission "java.io.tmpdir", "read";        
136
        permission java.util.PropertyPermission "javax.servlet.context.tempdir", "read";	
137
        permission java.io.FilePermission "${java.io.tmpdir}${file.separator}-", "read, write, delete";
127
138
128
    // Required for OpenJMX
139
    // Required for OpenJMX
129
    permission java.lang.RuntimePermission "getAttribute";
140
    permission java.lang.RuntimePermission "getAttribute";
130
141
131
	// Allow read of JAXP compliant XML parser debug
142
	// Allow read of JAXP compliant XML parser debug

Return to bug 38352