JBossWS SVN: r11217 - stack/native/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2009-12-09 02:12:01 -0500 (Wed, 09 Dec 2009)
New Revision: 11217
Modified:
stack/native/trunk/modules/testsuite/pom.xml
Log:
[JBWS-2692]:disable the security manager, there is test failure in hudson build
Modified: stack/native/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/native/trunk/modules/testsuite/pom.xml 2009-12-09 06:25:19 UTC (rev 11216)
+++ stack/native/trunk/modules/testsuite/pom.xml 2009-12-09 07:12:01 UTC (rev 11217)
@@ -15,7 +15,8 @@
<!-- Properties -->
<properties>
- <surefire.security.args>-Djava.home=${java.home} -DM2_REPO=${settings.localRepository} -Djava.security.debug=failure -Djava.security.manager -Djava.security.policy==${basedir}/../src/test/resources/securityMgr/client.policy </surefire.security.args>
+ <!--surefire.security.args>-Djava.home=${java.home} -DM2_REPO=${settings.localRepository} -Djava.security.debug=failure -Djava.security.manager -Djava.security.policy==${basedir}/../src/test/resources/securityMgr/client.policy </surefire.security.args-->
+ <surefire.security.args></surefire.security.args>
<surefire.jdwp.args>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</surefire.jdwp.args>
<surefire.gc.args>-Xmx512m -XX:MaxPermSize=256m</surefire.gc.args>
<surefire.management.args>-Dcom.sun.management.jmxremote</surefire.management.args>
15 years, 1 month
JBossWS SVN: r11216 - in stack/native/trunk/modules/testsuite: src and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2009-12-09 01:25:19 -0500 (Wed, 09 Dec 2009)
New Revision: 11216
Added:
stack/native/trunk/modules/testsuite/src/
stack/native/trunk/modules/testsuite/src/test/
stack/native/trunk/modules/testsuite/src/test/resources/
stack/native/trunk/modules/testsuite/src/test/resources/securityMgr/
stack/native/trunk/modules/testsuite/src/test/resources/securityMgr/client.policy
stack/native/trunk/modules/testsuite/src/test/resources/securityMgr/jboss-5.1.0.GA/
stack/native/trunk/modules/testsuite/src/test/resources/securityMgr/jboss-5.1.0.GA/server.policy
Modified:
stack/native/trunk/modules/testsuite/pom.xml
Log:
[JBWS-2692]:Added client policy and jboss-5.1.0 server policy;enable the test suite to execute under security manager
Modified: stack/native/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/native/trunk/modules/testsuite/pom.xml 2009-12-09 01:45:47 UTC (rev 11215)
+++ stack/native/trunk/modules/testsuite/pom.xml 2009-12-09 06:25:19 UTC (rev 11216)
@@ -15,7 +15,7 @@
<!-- Properties -->
<properties>
- <surefire.security.args>-Djava.security.manager -Djava.security.policy=src/test/etc/tst.policy</surefire.security.args>
+ <surefire.security.args>-Djava.home=${java.home} -DM2_REPO=${settings.localRepository} -Djava.security.debug=failure -Djava.security.manager -Djava.security.policy==${basedir}/../src/test/resources/securityMgr/client.policy </surefire.security.args>
<surefire.jdwp.args>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</surefire.jdwp.args>
<surefire.gc.args>-Xmx512m -XX:MaxPermSize=256m</surefire.gc.args>
<surefire.management.args>-Dcom.sun.management.jmxremote</surefire.management.args>
Added: stack/native/trunk/modules/testsuite/src/test/resources/securityMgr/client.policy
===================================================================
--- stack/native/trunk/modules/testsuite/src/test/resources/securityMgr/client.policy (rev 0)
+++ stack/native/trunk/modules/testsuite/src/test/resources/securityMgr/client.policy 2009-12-09 06:25:19 UTC (rev 11216)
@@ -0,0 +1,55 @@
+// Permissions for jbossws cxf test suite
+
+// Trusted core Java code
+grant codeBase "file:${java.home}/lib/ext/-" {
+ permission java.security.AllPermission;
+};
+
+//for javac
+grant codeBase "file:${java.home}/../lib" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${java.home}/lib/-" {
+ permission java.security.AllPermission;
+};
+
+//trust all jars in m2_repo
+grant codeBase "file:${M2_REPO}/-" {
+ permission java.security.AllPermission;
+};
+
+grant {
+
+//allow surefire to read compiled class in target dir and delte file
+permission java.io.FilePermission "<<ALL FILES>>", "execute,read,write,delete";
+permission java.util.PropertyPermission "*", "read,write";
+permission java.util.logging.LoggingPermission "control";
+permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
+
+permission java.net.SocketPermission "*", "accept,listen,connect,resolve";
+permission java.net.NetPermission "setDefaultAuthenticator";
+
+permission java.lang.RuntimePermission "setFactory";
+permission java.lang.RuntimePermission "accessDeclaredMembers";
+permission java.lang.RuntimePermission "createClassLoader";
+permission java.lang.RuntimePermission "setContextClassLoader";
+permission java.lang.RuntimePermission "modifyThreadGroup";
+permission java.lang.RuntimePermission "modifyThread";
+permission java.lang.RuntimePermission "shutdownHooks";
+permission java.lang.RuntimePermission "getProtectionDomain";
+permission java.lang.RuntimePermission "getenv.*";
+permission java.lang.RuntimePermission "getClassLoader";
+
+permission javax.management.MBeanServerPermission "findMBeanServer";
+
+permission java.io.SerializablePermission "enableSubstitution";
+
+permission javax.xml.ws.WebServicePermission "publishEndpoint";
+
+permission java.security.SecurityPermission "getPolicy";
+};
+
+
+
+
Added: stack/native/trunk/modules/testsuite/src/test/resources/securityMgr/jboss-5.1.0.GA/server.policy
===================================================================
--- stack/native/trunk/modules/testsuite/src/test/resources/securityMgr/jboss-5.1.0.GA/server.policy (rev 0)
+++ stack/native/trunk/modules/testsuite/src/test/resources/securityMgr/jboss-5.1.0.GA/server.policy 2009-12-09 06:25:19 UTC (rev 11216)
@@ -0,0 +1,425 @@
+// The Java2 security policy for the securitymgr tests
+// Install with -Djava.security.policy==server.policy
+// and -Djboss.home.dir=path_to_jboss_distribution
+
+// ***************************************
+// Trusted core Java code
+//***************************************
+grant codeBase "file:${java.home}/lib/ext/-" {
+ permission java.security.AllPermission;
+};
+grant codeBase "file:${java.home}/lib/*" {
+ permission java.security.AllPermission;
+};
+// For java.home pointing to the JDK jre directory
+grant codeBase "file:${java.home}/../lib/*" {
+ permission java.security.AllPermission;
+};
+
+
+
+
+//********************************************
+// Trusted core JBoss code (REAL URL Version)
+//********************************************
+grant codeBase "file:${jboss.home.dir}/bin/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.home.dir}/lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.home.dir}/lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.home.dir}/common/lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.home.dir}/server/lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.server.home.dir}/lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.server.home.dir}/deployers/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.server.home.dir}/work/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "jar:file:${jboss.server.home.dir}/common/lib/log4j.jar!/" {
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+grant codeBase "jar:file:${jboss.server.home.dir}/common/lib/servlet-api.jar!/" {
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+//********************************************
+// Trusted core JBoss code (VFS URL Version)
+//********************************************
+grant codeBase "vfszip:${jboss.home.dir}/lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "vfszip:${jboss.home.dir}/common/lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "vfszip:${jboss.home.dir}/server/lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.server.home.dir}/lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.server.home.dir}/deployers/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.server.home.dir}/work/-" {
+ permission java.security.AllPermission;
+};
+
+
+//*******************************************************
+// Trusted Specific JBoss Code (REAL URL Version)
+//*******************************************************
+grant codeBase "file:${jboss.server.home.dir}/conf/bindingservice.beans/jboss-bindingservice.jar/-"{
+ permission java.io.FilePermission "${jboss.home.dir}/deploy/jbossweb.sar/server.xml", "read";
+};
+
+grant codeBase "file:${jboss.server.home.dir}/deploy/http-invoker.sar/invoker.war/-" {
+ permission javax.management.MBeanPermission "*", "addNotificationListener,getAttribute";
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+grant codeBase "file:${jboss.server.home.dir}/deploy/jmx-console.war/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.server.home.dir}/deploy/jmx-remoting.sar/-" {
+ permission javax.management.MBeanTrustPermission "register";
+ permission java.net.SocketPermission "*", "accept,listen,resolve";
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission java.util.logging.LoggingPermission "control";
+};
+
+
+grant codeBase "file:${jboss.server.home.dir}/deploy/jbossweb.sar/jsf-libs/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${jboss.server.home.dir}/deploy/jboss-local-jdbc.rar/-" {
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+grant codeBase "jar:file:${jboss.server.home.dir}/conf/bindingservice.beans/jboss-bindingservice.jar!/"{
+ permission java.util.PropertyPermission "*", "write";
+ permission java.io.FilePermission "${jboss.server.home.dir}/deploy/jbossweb.sar/server.xml", "read";
+ permission java.io.FilePermission "${jboss.server.home.dir}/tmp/-", "write,delete";
+};
+
+grant codeBase "jar:file:${jboss.server.home.dir}/deploy/jboss-local-jdbc.rar!/jboss-local-jdbc.jar" {
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+grant codeBase "file:${jboss.server.home.dir}/deploy/management/console-mgr.sar/-" {
+ permission javax.management.MBeanTrustPermission "register";
+ permission javax.management.MBeanPermission "*", "addNotificationListener,getAttribute";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","*";
+ permission java.io.FilePermission "<<ALL FILES>>", "read";
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+grant codeBase "file:${jboss.server.home.dir}/deploy/uuid-key-generator.sar/-" {
+ permission javax.management.MBeanTrustPermission "register";
+ permission javax.management.MBeanPermission "*", "getAttribute";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","lookup,rebind,unbind";
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+grant codeBase "file:${jboss.server.home.dir}/deploy/jbossweb.sar/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "jar:file:${jboss.server.home.dir}/deploy/jms-ra.rar!/jms-ra.jar" {
+ permission java.lang.RuntimePermission "setContextClassLoader";
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","lookup";
+ permission java.io.FilePermission "${jboss.home.dir}/lib/jboss-aop.jar", "read";
+ permission javax.management.MBeanPermission "*", "getAttribute,invoke,setAttribute";
+};
+
+grant codeBase "jar:file:${jboss.server.home.dir}/deploy/jms-ra.rar/jms-ra.jar!/" {
+ permission java.lang.RuntimePermission "setContextClassLoader";
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","lookup";
+ permission java.io.FilePermission "${jboss.home.dir}/lib/jboss-aop.jar", "read";
+ permission javax.management.MBeanPermission "*", "getAttribute,invoke,setAttribute";
+};
+
+grant codeBase "jar:file:${jboss.server.home.dir}/deploy/quartz-ra.rar!/quartz-ra.jar" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "jar:file:${jboss.server.home.dir}/deploy/quartz-ra.rar/quartz-ra.jar!/" {
+ permission java.security.AllPermission;
+};
+
+
+
+//*******************************************************
+// Trusted Specific JBoss Code (VFS URL Version)
+//*******************************************************
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/http-invoker.sar/invoker.war/-" {
+ permission javax.management.MBeanPermission "*", "addNotificationListener,getAttribute";
+};
+
+grant codeBase "vfsfile:${jboss.server.home.dir}/deploy/http-invoker.sar/invoker.war/-" {
+ permission javax.management.MBeanPermission "*", "addNotificationListener,getAttribute";
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/jmx-console.war/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "vfsfile:${jboss.server.home.dir}/deploy/jmx-console.war/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/jmx-remoting.sar/-" {
+ permission javax.management.MBeanTrustPermission "register";
+ permission java.net.SocketPermission "*", "accept,listen,resolve";
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/jbossweb.sar/jboss-web-service.jar" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/jbossweb.sar/jbossweb.jar" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "vfsfile:${jboss.server.home.dir}/deploy/jbossweb.sar/jbossweb.jar/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/jbossweb.sar/jsf-libs/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/jbossweb.sar/jasper-jdt.jar" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/jbossweb.sar/jstl.jar" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/jboss-local-jdbc.rar/-" {
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/management/console-mgr.sar/-" {
+ permission javax.management.MBeanTrustPermission "register";
+ permission javax.management.MBeanPermission "*", "addNotificationListener,getAttribute";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","*";
+ permission java.io.FilePermission "<<ALL FILES>>", "read";
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/uuid-key-generator.sar/-" {
+ permission javax.management.MBeanTrustPermission "register";
+ permission javax.management.MBeanPermission "*", "getAttribute";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","lookup,rebind,unbind";
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+grant codeBase "vfsfile:${jboss.server.home.dir}/deploy/uuid-key-generator.sar/-" {
+ permission javax.management.MBeanTrustPermission "register";
+ permission javax.management.MBeanPermission "*", "getAttribute";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","lookup,rebind,unbind";
+ permission java.lang.RuntimePermission "getClassLoader";
+};
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/jms-ra.rar/jms-ra.jar" {
+ permission java.lang.RuntimePermission "setContextClassLoader";
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","lookup";
+ permission java.io.FilePermission "${jboss.home.dir}/lib/jboss-aop.jar", "read";
+ permission javax.management.MBeanPermission "*", "getAttribute,invoke,setAttribute";
+};
+
+grant codeBase "vfszip:${jboss.server.home.dir}/deploy/quartz-ra.rar/quartz-ra.jar" {
+ permission java.security.AllPermission;
+};
+
+//***************************************************************
+// JBoss AS Test Suite Permissions (REAL URL Version)
+//***************************************************************
+
+// Permissions for the WarPermissionsUnitTestCase
+grant codeBase "file:${jboss.test.deploy.dir}/securitymgr/-" {
+ permission java.util.PropertyPermission "*", "read";
+ permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","lookup";
+};
+
+grant codeBase "file:${jboss.test.deploy.dir}/securitymgr/-" {
+ permission java.util.PropertyPermission "*", "read";
+ permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
+};
+
+grant codeBase "file:${jboss.test.deploy.dir}/jbosstest-web.ear/-" {
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","list,lookup";
+ permission org.jboss.naming.JndiPermission "env","list";
+ permission java.io.FilePermission "<<ALL FILES>>", "read";
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission java.lang.RuntimePermission "getProtectionDomain";
+};
+
+grant codeBase "jar:file:${jboss.test.deploy.dir}/jbosstest-web.ear!/jbosstest-web.war" {
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","list,lookup";
+ permission org.jboss.naming.JndiPermission "env","list";
+ permission java.io.FilePermission "<<ALL FILES>>", "read";
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission java.lang.RuntimePermission "getProtectionDomain";
+};
+grant codeBase "jar:file:${jboss.test.deploy.dir}/jbosstest-web.ear!/lib/util.jar" {
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission java.lang.RuntimePermission "getProtectionDomain";
+};
+
+
+grant codeBase "file:${jboss.test.deploy.dir}/-" {
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","listBindings,lookup";
+};
+
+grant codeBase "file:${jboss.test.deploy.dir}/class-loading.war/WEB-INF/classes/" {
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission java.lang.RuntimePermission "getProtectionDomain";
+ permission javax.management.MBeanPermission "*", "getMBeanInfo";
+};
+
+grant codeBase "file:${jboss.test.deploy.dir}/security-ejb3.jar" {
+ permission java.lang.RuntimePermission "createClassLoader";
+};
+
+grant codeBase "jar:file:${jboss.test.deploy.dir}/security-ejb3.jar!/-" {
+ permission java.security.AllPermission;
+};
+
+//***************************************************************
+// JBoss AS Test Suite Permissions (VFS URL Version)
+//***************************************************************
+
+// Permissions for the WarPermissionsUnitTestCase
+grant codeBase "vfszip:${jboss.test.deploy.dir}/securitymgr/-" {
+ permission java.util.PropertyPermission "*", "read";
+ permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","lookup";
+};
+
+grant codeBase "vfsfile:${jboss.test.deploy.dir}/securitymgr/-" {
+ permission java.util.PropertyPermission "*", "read";
+ permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
+};
+
+grant codeBase "vfszip:${jboss.test.deploy.dir}/jbosstest-web.ear/-" {
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","list,lookup";
+ permission org.jboss.naming.JndiPermission "env","list";
+ permission java.io.FilePermission "<<ALL FILES>>", "read";
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission java.lang.RuntimePermission "getProtectionDomain";
+};
+
+grant codeBase "vfszip:${jboss.test.deploy.dir}/-" {
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","listBindings,lookup";
+};
+
+grant codeBase "vfszip:${jboss.test.deploy.dir}/class-loading.war/WEB-INF/classes/" {
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission java.lang.RuntimePermission "getProtectionDomain";
+ permission javax.management.MBeanPermission "*", "getMBeanInfo";
+};
+
+grant codeBase "vfsmemory://*" {
+ permission java.security.AllPermission;
+};
+
+//****************************************************************
+// jbossws native permission
+//****************************************************************
+//for juddi deployment
+grant codeBase "file:${jboss.server.home.dir}/deploy/juddi-service.sar/-" {
+ permission javax.management.MBeanTrustPermission "register";
+ permission org.jboss.naming.JndiPermission "JAXR", "rebind";
+};
+
+//****************************************************************
+// Default block of permissions
+// Minimal permissions are allowed to everyone else
+//****************************************************************
+grant {
+
+ permission java.io.FilePermission "${jboss.server.home.dir}/tmp/-", "read";
+ permission java.io.FilePermission "${jboss.home.dir}/server/lib/quartz.jar/org/quartz/quartz.properties", "read";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","lookup";
+ permission java.io.FilePermission "quartz.properties", "read";
+ permission java.util.PropertyPermission "*", "read";
+ permission java.lang.RuntimePermission "queuePrintJob";
+ permission java.net.SocketPermission "*", "connect";
+ permission java.security.SecurityPermission "getPolicy";
+ permission java.lang.RuntimePermission "accessClassInPackage.*";
+ permission java.lang.RuntimePermission "getProtectionDomain";
+ permission java.lang.RuntimePermission "org.jboss.security.SecurityAssociation.getSubject";
+ permission java.lang.RuntimePermission "org.jboss.security.plugins.JBossSecurityContext.getSubjectInfo";
+
+ permission javax.management.MBeanServerPermission "findMBeanServer";
+ permission javax.management.MBeanPermission "org.jboss.mx.modelmbean.XMBean#*[JMImplementation:type=MBeanRegistry]", "*";
+ permission javax.management.MBeanPermission "org.jboss.security.plugins.AuthorizationManagerService#*[jboss.security:service=AuthorizationManager]", "invoke";
+ permission javax.management.MBeanPermission "org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore#*[jboss.messaging:service=SecurityStore]", "invoke";
+ permission javax.management.MBeanPermission "org.jboss.security.auth.login.XMLLoginConfig#*[jboss.security:service=XMLLoginConfig]", "invoke";
+ permission javax.management.MBeanPermission "org.jboss.security.plugins.JaasSecurityManagerService#*[jboss.security:service=JaasSecurityManager]", "invoke";
+ permission javax.management.MBeanPermission "*", "getMBeanInfo";
+ permission javax.management.MBeanPermission "*", "getAttribute";
+
+ permission javax.security.auth.AuthPermission "createLoginContext.*";
+ permission javax.security.auth.AuthPermission "getLoginConfiguration";
+
+ //admin-console
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission org.jboss.naming.JndiPermission "<<ALL BINDINGS>>","rebind,createSubcontext";
+ permission java.util.logging.LoggingPermission "control";
+ permission javax.management.MBeanPermission "*", "addNotificationListener";
+
+ //specific tests
+ permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
+ permission java.lang.RuntimePermission "accessDeclaredMembers";
+ permission java.lang.RuntimePermission "org.jboss.security.plugins.JBossSecurityContext.getData";
+ permission javax.xml.ws.WebServicePermission "publishEndpoint";
+ permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
+ permission javax.management.MBeanPermission "*", "invoke,registerMBean,unregisterMBean,queryNames";
+ permission java.security.SecurityPermission "setPolicy";
+ permission java.net.NetPermission "specifyStreamHandler";
+
+
+ //add write permission to frameworktest : org.jboss.test.ws.jaxws.jbws2000.JBWS2000TestCase
+ permission java.io.FilePermission "/tmp/-", "write,delete";
+ //frameworktest : org.jboss.test.ws.jaxws.jbws1822.JBWS1822TestCase
+ permission java.lang.RuntimePermission "createClassLoader";
+ //Allow client to regiester MBean : org.jboss.test.ws.management.recording.CustomRecordProcessorTestCase.testAddCustomProcessor()
+ permission javax.management.MBeanTrustPermission "register";
+};
15 years, 1 month
JBossWS SVN: r11215 - in stack/cxf/branches/jbossws-cxf-3.1.2: src/main/scripts and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: fnasser(a)redhat.com
Date: 2009-12-08 20:45:47 -0500 (Tue, 08 Dec 2009)
New Revision: 11215
Modified:
stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml
Log:
Temporarely revert changes that caused regressions
Modified: stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 21:16:47 UTC (rev 11214)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-09 01:45:47 UTC (rev 11215)
@@ -61,10 +61,11 @@
<patternset id="jbossws.server.lib.patternset">
<include name="**/nothing-to-deploy"/>
<!-- Do not replace these until they are really different
- from the ones shipped with the JBoss ative EAP AS -->
- <!-- <include name="**/jbossws-common.jar"/> -->
- <!-- <include name="**/jbossws-framework.jar"/> -->
- <!-- <include name="**/jbossws-spi.jar"/> -->
+ from the ones shipped with the JBoss ative EAP AS
+ <include name="**/jbossws-common.jar"/>
+ <include name="**/jbossws-framework.jar"/>
+ <include name="**/jbossws-spi.jar"/>
+ -->
</patternset>
<patternset id="jbossws.service.lib.patternset">
@@ -260,6 +261,8 @@
</copy>
<copy todir="@{targetdir}" flatten="true" overwrite="true" verbose="true">
<fileset dir="@{thirdpartydir}">
+ <include name="**/jbossws-common.jar"/>
+ <include name="**/jbossws-framework.jar"/>
<!-- [JBWS-2505] -->
<!-- START -->
<!--
@@ -293,9 +296,7 @@
<macro-deploy-jbossws-server-lib51 targetdir="${installserver}/../../common/lib" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/> <!-- Please note the "../../common" to use common server lib! -->
<macro-deploy-jbossws-cxf51-sar targetdir="${installserver}/deploy/jbossws.sar" artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
<macro-deploy-jbossws-deployers51 targetdir="${installserver}/deployers/jbossws.deployer/" artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
- <!-- No need to do this until we are actually changing something in it
<macro-deploy-juddi-sar targetdir="${installserver}/deploy/juddi-service.sar" thirdpartydir="${thirdpartydir}"/>
- -->
</target>
<target name="check-parameters">
@@ -347,9 +348,8 @@
<!-- delete jbossws.sar -->
<delete dir="@{targetdir}" verbose="true"/>
- <!-- No need to do this until we are actually changing something in it -->
<!-- delete juddi-service.sar -->
- <!-- <delete dir="@{targetdir}/../juddi-service.sar" verbose="true"/> -->
+ <delete dir="@{targetdir}/../juddi-service.sar" verbose="true"/>
</sequential>
</macrodef>
Modified: stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml 2009-12-08 21:16:47 UTC (rev 11214)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml 2009-12-09 01:45:47 UTC (rev 11215)
@@ -84,7 +84,6 @@
<includeDependencies>false</includeDependencies>
<unpack>false</unpack>
<dependencySets>
- <!-- Do not include juddi-service as it has not changed
<dependencySet>
<outputDirectory>lib</outputDirectory>
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
@@ -98,7 +97,6 @@
<include>juddi:juddi:jar</include>
</includes>
</dependencySet>
- -->
<!-- [JBWS-2505] -->
<!-- START -->
<!--
15 years, 1 month
JBossWS SVN: r11214 - stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources.
by jbossws-commits@lists.jboss.org
Author: fnasser(a)redhat.com
Date: 2009-12-08 16:16:47 -0500 (Tue, 08 Dec 2009)
New Revision: 11214
Modified:
stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
Log:
Fix XML
Modified: stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 20:45:27 UTC (rev 11213)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 21:16:47 UTC (rev 11214)
@@ -347,10 +347,9 @@
<!-- delete jbossws.sar -->
<delete dir="@{targetdir}" verbose="true"/>
- <!-- No need to do this until we are actually changing something in it
+ <!-- No need to do this until we are actually changing something in it -->
<!-- delete juddi-service.sar -->
- <delete dir="@{targetdir}/../juddi-service.sar" verbose="true"/>
- -->
+ <!-- <delete dir="@{targetdir}/../juddi-service.sar" verbose="true"/> -->
</sequential>
</macrodef>
15 years, 1 month
JBossWS SVN: r11213 - stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts.
by jbossws-commits@lists.jboss.org
Author: fnasser(a)redhat.com
Date: 2009-12-08 15:45:27 -0500 (Tue, 08 Dec 2009)
New Revision: 11213
Modified:
stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml
Log:
Fix XML
Modified: stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml 2009-12-08 20:43:26 UTC (rev 11212)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml 2009-12-08 20:45:27 UTC (rev 11213)
@@ -92,7 +92,7 @@
<scope>provided</scope>
<unpack>false</unpack>
<includes>
- <!-- <include>org.jboss.ws:jbossws-framework:jar</include> -->
+ <include>org.jboss.ws:jbossws-framework:jar</include>
<include>org.jboss.jaxr:juddi-service:sar</include>
<include>apache-scout:scout:jar</include>
<include>juddi:juddi:jar</include>
15 years, 1 month
JBossWS SVN: r11212 - in stack/cxf/branches/jbossws-cxf-3.1.2: src/main/scripts and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: fnasser(a)redhat.com
Date: 2009-12-08 15:43:26 -0500 (Tue, 08 Dec 2009)
New Revision: 11212
Modified:
stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml
Log:
Preserve juddi-service as it is not changed
Modified: stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 16:15:13 UTC (rev 11211)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 20:43:26 UTC (rev 11212)
@@ -61,11 +61,10 @@
<patternset id="jbossws.server.lib.patternset">
<include name="**/nothing-to-deploy"/>
<!-- Do not replace these until they are really different
- from the ones shipped with the JBoss ative EAP AS
- <include name="**/jbossws-common.jar"/>
- <include name="**/jbossws-framework.jar"/>
- <include name="**/jbossws-spi.jar"/>
- -->
+ from the ones shipped with the JBoss ative EAP AS -->
+ <!-- <include name="**/jbossws-common.jar"/> -->
+ <!-- <include name="**/jbossws-framework.jar"/> -->
+ <!-- <include name="**/jbossws-spi.jar"/> -->
</patternset>
<patternset id="jbossws.service.lib.patternset">
@@ -261,8 +260,6 @@
</copy>
<copy todir="@{targetdir}" flatten="true" overwrite="true" verbose="true">
<fileset dir="@{thirdpartydir}">
- <include name="**/jbossws-common.jar"/>
- <include name="**/jbossws-framework.jar"/>
<!-- [JBWS-2505] -->
<!-- START -->
<!--
@@ -296,7 +293,9 @@
<macro-deploy-jbossws-server-lib51 targetdir="${installserver}/../../common/lib" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/> <!-- Please note the "../../common" to use common server lib! -->
<macro-deploy-jbossws-cxf51-sar targetdir="${installserver}/deploy/jbossws.sar" artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
<macro-deploy-jbossws-deployers51 targetdir="${installserver}/deployers/jbossws.deployer/" artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
+ <!-- No need to do this until we are actually changing something in it
<macro-deploy-juddi-sar targetdir="${installserver}/deploy/juddi-service.sar" thirdpartydir="${thirdpartydir}"/>
+ -->
</target>
<target name="check-parameters">
@@ -348,8 +347,10 @@
<!-- delete jbossws.sar -->
<delete dir="@{targetdir}" verbose="true"/>
+ <!-- No need to do this until we are actually changing something in it
<!-- delete juddi-service.sar -->
<delete dir="@{targetdir}/../juddi-service.sar" verbose="true"/>
+ -->
</sequential>
</macrodef>
Modified: stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml 2009-12-08 16:15:13 UTC (rev 11211)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/src/main/scripts/assembly-deploy-artifacts.xml 2009-12-08 20:43:26 UTC (rev 11212)
@@ -84,6 +84,7 @@
<includeDependencies>false</includeDependencies>
<unpack>false</unpack>
<dependencySets>
+ <!-- Do not include juddi-service as it has not changed
<dependencySet>
<outputDirectory>lib</outputDirectory>
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
@@ -91,12 +92,13 @@
<scope>provided</scope>
<unpack>false</unpack>
<includes>
- <include>org.jboss.ws:jbossws-framework:jar</include>
+ <!-- <include>org.jboss.ws:jbossws-framework:jar</include> -->
<include>org.jboss.jaxr:juddi-service:sar</include>
<include>apache-scout:scout:jar</include>
<include>juddi:juddi:jar</include>
</includes>
</dependencySet>
+ -->
<!-- [JBWS-2505] -->
<!-- START -->
<!--
15 years, 1 month
JBossWS SVN: r11211 - stack/cxf/branches/jbossws-cxf-3.1.2.
by jbossws-commits@lists.jboss.org
Author: fnasser(a)redhat.com
Date: 2009-12-08 11:15:13 -0500 (Tue, 08 Dec 2009)
New Revision: 11211
Modified:
stack/cxf/branches/jbossws-cxf-3.1.2/pom.xml
Log:
More version changes to match EAP 5
Modified: stack/cxf/branches/jbossws-cxf-3.1.2/pom.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/pom.xml 2009-12-08 15:23:21 UTC (rev 11210)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/pom.xml 2009-12-08 16:15:13 UTC (rev 11211)
@@ -54,7 +54,7 @@
<!-- END -->
<cxf.version>2.2.2</cxf.version>
<cxf.stax.version>1.0.1</cxf.stax.version>
- <cxf.asm.version>2.2.3</cxf.asm.version>
+ <cxf.asm.version>3.1</cxf.asm.version>
<fastinfoset.api.version>1.2.7</fastinfoset.api.version>
<jboss.common.core.version>2.2.16.GA</jboss.common.core.version>
<jaxb.api.version>2.1.9.patch01</jaxb.api.version>
@@ -64,13 +64,13 @@
<juddi.version>2.0.1</juddi.version>
<jboss.jaxr.version>2.0.1</jboss.jaxr.version>
<apache.scout.version>1.1.1</apache.scout.version>
- <commons-collections.version>3.1</commons-collections.version>
+ <commons-collections.version>3.2</commons-collections.version>
<commons-lang.version>2.4</commons-lang.version>
<commons.logging.version>1.1.1</commons.logging.version>
<log4j.version>1.2.14</log4j.version>
<saaj.api.version>1.3</saaj.api.version>
<velocity.version>1.5</velocity.version>
- <xmlsec.version>1.4.2</xmlsec.version>
+ <xmlsec.version>1.4.3</xmlsec.version>
</properties>
<!-- DependencyManagement -->
15 years, 1 month
JBossWS SVN: r11210 - stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources.
by jbossws-commits@lists.jboss.org
Author: fnasser(a)redhat.com
Date: 2009-12-08 10:23:21 -0500 (Tue, 08 Dec 2009)
New Revision: 11210
Modified:
stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
Log:
Improve comments
Modified: stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 14:36:43 UTC (rev 11209)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 15:23:21 UTC (rev 11210)
@@ -36,17 +36,15 @@
<include name="**/spring-core.jar"/>
<include name="**/XmlSchema.jar"/>
<include name="**/velocity.jar"/>
- <!-- <include name="**/asm.jar"/> -->
- <!-- <include name="**/commons-collections.jar"/> -->
<!-- Do not replace these until they are really different
- from the ones shipped with the JBoss ative EAP AS
- <include name="**/jbossws-spi.jar"/>
- <include name="**/jbossws-common.jar"/>
- <include name="**/jbossws-framework.jar"/>
- -->
+ from the ones shipped with the JBoss ative EAP AS -->
+ <!-- <include name="**/jbossws-spi.jar"/> -->
+ <!-- <include name="**/jbossws-common.jar"/> -->
+ <!-- <include name="**/jbossws-framework.jar"/> -->
<!-- Already in the AS endorsed dir -->
<!-- <include name="**/xml-resolver.jar"/> -->
</patternset>
+ <!-- Copy these ones from the EAP AS common/lib so the MD5 is the same -->
<patternset id="jbossws.client.patternset2">
<include name="**/asm.jar"/>
<include name="**/commons-collections.jar"/>
@@ -86,16 +84,15 @@
<include name="**/spring-core.jar"/>
<include name="**/wss4j.jar"/>
<include name="**/XmlSchema.jar"/>
+ <!-- The ones below are not removed and there are no changes to them
+ so there is no need to override what is already there -->
<!-- <include name="**/FastInfoset.jar"/> -->
- <include name="${installserver}/../../client/FastInfoset.jar"/>
<!-- <include name="**/xmlsec.jar"/> -->
- <include name="${installserver}/../../client/xmlsec.jar"/>
<!-- <include name="**/wsdl4j.jar"/> -->
- <include name="${installserver}/../../client/wsdl4j.jar"/>
- <!-- Already in the AS common/lib -->
+ <!-- Already in the AS common/lib and thus visible -->
<!-- <include name="**/asm.jar"/> -->
<!-- <include name="**/geronimo-javamail*.jar"/> -->
- <!-- Already in the AS endorsed dir -->
+ <!-- Already in the AS endorsed dir and thus visible -->
<!-- <include name="**/xml-resolver.jar"/> -->
</patternset>
@@ -172,7 +169,7 @@
<!-- END -->
</fileset>
</copy>
- <!-- Use the files already in the AS to avoid different MD5 sums -->
+ <!-- Copy these ones from the EAP AS common/lib so the MD5 is the same -->
<copy todir="@{targetdir}" flatten="true" overwrite="true" verbose="true">
<fileset dir="@{thirdpartydir}/../../common/lib">
<patternset refid="jbossws.client.patternset2"/>
15 years, 1 month
JBossWS SVN: r11209 - stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources.
by jbossws-commits@lists.jboss.org
Author: fnasser(a)redhat.com
Date: 2009-12-08 09:36:43 -0500 (Tue, 08 Dec 2009)
New Revision: 11209
Modified:
stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
Log:
Fix path to common/lib
Modified: stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 14:18:12 UTC (rev 11208)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 14:36:43 UTC (rev 11209)
@@ -174,7 +174,7 @@
</copy>
<!-- Use the files already in the AS to avoid different MD5 sums -->
<copy todir="@{targetdir}" flatten="true" overwrite="true" verbose="true">
- <fileset dir="@{thirdpartydir}/../../../common/lib">
+ <fileset dir="@{thirdpartydir}/../../common/lib">
<patternset refid="jbossws.client.patternset2"/>
</fileset>
</copy>
15 years, 1 month
JBossWS SVN: r11208 - stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources.
by jbossws-commits@lists.jboss.org
Author: fnasser(a)redhat.com
Date: 2009-12-08 09:18:12 -0500 (Tue, 08 Dec 2009)
New Revision: 11208
Modified:
stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
Log:
Fix path to common/lib
Modified: stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 14:01:50 UTC (rev 11207)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/resources/jbossws-tp-installer-macros.xml 2009-12-08 14:18:12 UTC (rev 11208)
@@ -174,7 +174,7 @@
</copy>
<!-- Use the files already in the AS to avoid different MD5 sums -->
<copy todir="@{targetdir}" flatten="true" overwrite="true" verbose="true">
- <fileset dir="@{targetdir}/../common/lib">
+ <fileset dir="@{thirdpartydir}/../../../common/lib">
<patternset refid="jbossws.client.patternset2"/>
</fileset>
</copy>
15 years, 1 month