From 5689bf5fe23c890091afbf037a42ff5b4c174b70 Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Tue, 26 Aug 2014 16:11:21 +0200 Subject: add newProxyInPackage permission to sample policy file --- BKUOnline/src/main/policy/50mocca.policy | 1 + BKUOnline/src/main/policy/catalina.policy | 1 + 2 files changed, 2 insertions(+) (limited to 'BKUOnline/src') diff --git a/BKUOnline/src/main/policy/50mocca.policy b/BKUOnline/src/main/policy/50mocca.policy index 0e58634a..84bf5988 100644 --- a/BKUOnline/src/main/policy/50mocca.policy +++ b/BKUOnline/src/main/policy/50mocca.policy @@ -270,6 +270,7 @@ grant codeBase "file:${catalina.base}/webapps/bkuonline/WEB-INF/lib/jaxws-rt-2.1 permission javax.management.MBeanPermission "com.sun.xml.ws.*", "registerMBean"; permission javax.management.MBeanTrustPermission "register"; permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; + permission java.lang.reflect.ReflectPermission "newProxyInPackage.at.gv.egiz.stalx.service"; }; grant codeBase "file:${catalina.base}/webapps/bkuonline/WEB-INF/lib/jaxb-impl-2.1.9.jar" { diff --git a/BKUOnline/src/main/policy/catalina.policy b/BKUOnline/src/main/policy/catalina.policy index 1c7fc5a7..67a72898 100644 --- a/BKUOnline/src/main/policy/catalina.policy +++ b/BKUOnline/src/main/policy/catalina.policy @@ -399,6 +399,7 @@ grant codeBase "file:/home/clemens/workspace/bku/BKUOnline/target/BKUOnline-1.2. permission javax.management.MBeanPermission "com.sun.xml.ws.*", "registerMBean"; permission javax.management.MBeanTrustPermission "register"; permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; + permission java.lang.reflect.ReflectPermission "newProxyInPackage.at.gv.egiz.stalx.service"; }; grant codeBase "file:/home/clemens/workspace/bku/BKUOnline/target/BKUOnline-1.2.12-pinguin-1-SNAPSHOT/WEB-INF/lib/jaxb-impl-2.1.9.jar" { -- cgit v1.2.3