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

(-)conf/catalina.policy (-1 / +10 lines)
Lines 171-182 Link Here
171
171
172
172
173
// The Manager application needs access to the following packages to support the
173
// The Manager application needs access to the following packages to support the
174
// session display functionality
174
// session display functionality. These settings support the following
175
// configurations:
176
// - default CATALINA_HOME == CATALINA_BASE
177
// - CATALINA_HOME != CATALINA_BASE, per instance Manager in CATALINA_BASE
178
// - CATALINA_HOME != CATALINA_BASE, shared Manager in CATALINA_HOME
175
grant codeBase "file:${catalina.base}/webapps/manager/-" {
179
grant codeBase "file:${catalina.base}/webapps/manager/-" {
176
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina";
180
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina";
177
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager";
181
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager";
178
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util";
182
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util";
179
};
183
};
184
grant codeBase "file:${catalina.home}/webapps/manager/-" {
185
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina";
186
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager";
187
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util";
188
};
180
189
181
// You can assign additional permissions to particular web applications by
190
// You can assign additional permissions to particular web applications by
182
// adding additional "grant" entries here, based on the code base for that
191
// adding additional "grant" entries here, based on the code base for that

Return to bug 50854