Author: jim.ma
Date: 2015-06-15 23:15:03 -0400 (Mon, 15 Jun 2015)
New Revision: 19792
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/schemavalidation/META-INF/permissions.xml
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/logicalhandler/WEB-INF/permissions.xml
Log:
Fix permission failures
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/schemavalidation/META-INF/permissions.xml
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/schemavalidation/META-INF/permissions.xml 2015-06-15
07:14:59 UTC (rev 19791)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/schemavalidation/META-INF/permissions.xml 2015-06-16
03:15:03 UTC (rev 19792)
@@ -5,7 +5,41 @@
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/permissions_7.xsd"
version="7">
<permission>
+ <class-name>java.security.AllPermission</class-name>
+ </permission>
+ <!--Permission("org.jboss.as.server.security.ServerPermission"
"getCurrentServiceContainer") is required-->
+
+ <!--permission>
+ <class-name>java.util.PropertyPermission</class-name>
+ <name>jboss.bind.address</name>
+ <actions>read</actions>
+ </permission>
+ <permission>
<class-name>java.lang.RuntimePermission</class-name>
- <name>org.jboss.as.server.LOOKUP_CURRENT_SERVICE_CONTAINER</name>
+ <name>getClassLoader</name>
</permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-name>
+ <name>createClassLoader</name>
+ </permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-name>
+ <name>org.apache.cxf.permission</name>
+ <actions>resolveUri</actions>
+ </permission>
+ <permission>
+ <class-name>java.util.PropertyPermission</class-name>
+ <name>user.dir</name>
+ <actions>read</actions>
+ </permission>
+ <permission>
+ <class-name>java.net.SocketPermission</class-name>
+ <name>*</name>
+ <actions>connect,resolve</actions>
+ </permission>
+ <permission>
+ <class-name>java.io.FilePermission</class-name>
+ <name><<ALL FILES>></name>
+ <actions>read</actions>
+ </permission-->
</permissions>
Modified:
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/logicalhandler/WEB-INF/permissions.xml
===================================================================
---
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/logicalhandler/WEB-INF/permissions.xml 2015-06-15
07:14:59 UTC (rev 19791)
+++
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/logicalhandler/WEB-INF/permissions.xml 2015-06-16
03:15:03 UTC (rev 19792)
@@ -5,6 +5,10 @@
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/permissions_7.xsd"
version="7">
<permission>
+ <class-name>java.lang.RuntimePermission</class-name>
+ <name>accessDeclaredMembers</name>
+ </permission>
+ <permission>
<class-name>java.util.PropertyPermission</class-name>
<name>jboss.bind.address</name>
<actions>read</actions>