JBossWS SVN: r19791 - stack/cxf/trunk.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2015-06-15 03:14:59 -0400 (Mon, 15 Jun 2015)
New Revision: 19791
Modified:
stack/cxf/trunk/pom.xml
Log:
Update wildfly900 version to 9.0.0.CR2
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2015-06-15 07:09:21 UTC (rev 19790)
+++ stack/cxf/trunk/pom.xml 2015-06-15 07:14:59 UTC (rev 19791)
@@ -71,7 +71,7 @@
<wildfly800.version>8.0.0.Final</wildfly800.version>
<wildfly810.version>8.1.0.Final</wildfly810.version>
<wildfly820.version>8.2.0.Final</wildfly820.version>
- <wildfly900.version>9.0.0.CR2-SNAPSHOT</wildfly900.version>
+ <wildfly900.version>9.0.0.CR2</wildfly900.version>
<ejb.api.version>1.0.2.Final</ejb.api.version>
<cxf.version>3.0.5</cxf.version>
<cxf.asm.version>3.3.1</cxf.asm.version>
9 years, 6 months
JBossWS SVN: r19790 - in stack/cxf/trunk/modules/testsuite/shared-tests/src/test: java/org/jboss/test/ws/jaxws/samples/serviceref and 5 other directories.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2015-06-15 03:09:21 -0400 (Mon, 15 Jun 2015)
New Revision: 19790
Added:
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/serviceref/servlet-client/WEB-INF/permissions.xml
Modified:
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefTestCase.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3282/META-INF/permissions.xml
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/serviceref/META-INF/permissions.xml
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/publish/META-INF/permissions.xml
Log:
Fix permission failures
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java 2015-06-15 05:48:28 UTC (rev 19789)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java 2015-06-15 07:09:21 UTC (rev 19790)
@@ -68,6 +68,7 @@
.addClass(org.jboss.test.ws.jaxws.samples.logicalhandler.SOAPEndpointJAXB.class)
.addClass(org.jboss.test.ws.jaxws.samples.logicalhandler.SOAPEndpointJAXBImpl.class)
.addAsResource("org/jboss/test/ws/jaxws/samples/logicalhandler/jaxws-server-jaxb-handlers.xml")
+ .addAsManifestResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/logicalhandler/WEB-INF/permissions.xml"), "permissions.xml")
.setWebXML(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/logicalhandler/WEB-INF/web-jaxb.xml"));
return archive;
}
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefTestCase.java 2015-06-15 05:48:28 UTC (rev 19789)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefTestCase.java 2015-06-15 07:09:21 UTC (rev 19790)
@@ -139,6 +139,9 @@
.addAsWebInfResource(
new File(JBossWSTestHelper.getTestResourcesDir()
+ "/jaxws/samples/serviceref/servlet-client/WEB-INF/jboss-web.xml"), "jboss-web.xml")
+ .addAsManifestResource(
+ new File(JBossWSTestHelper.getTestResourcesDir()
+ + "/jaxws/samples/serviceref/servlet-client/WEB-INF/permissions.xml"), "permissions.xml")
.setWebXML(
new File(JBossWSTestHelper.getTestResourcesDir()
+ "/jaxws/samples/serviceref/servlet-client/WEB-INF/web.xml"));
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3282/META-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3282/META-INF/permissions.xml 2015-06-15 05:48:28 UTC (rev 19789)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3282/META-INF/permissions.xml 2015-06-15 07:09:21 UTC (rev 19790)
@@ -5,11 +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>org.jboss.as.server.LOOKUP_CURRENT_SERVICE_CONTAINER</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>
Added: 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 (rev 0)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/logicalhandler/WEB-INF/permissions.xml 2015-06-15 07:09:21 UTC (rev 19790)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<permissions xmlns="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ 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.util.PropertyPermission</class-name>
+ <name>jboss.bind.address</name>
+ <actions>read</actions>
+ </permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-name>
+ <name>setContextClassLoader</name>
+ </permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-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>
Property changes on: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/logicalhandler/WEB-INF/permissions.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/serviceref/META-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/serviceref/META-INF/permissions.xml 2015-06-15 05:48:28 UTC (rev 19789)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/serviceref/META-INF/permissions.xml 2015-06-15 07:09:21 UTC (rev 19790)
@@ -9,6 +9,11 @@
<name>getClassLoader</name>
</permission>
<permission>
+ <class-name>java.util.PropertyPermission</class-name>
+ <name>user.dir</name>
+ <actions>read</actions>
+ </permission>
+ <permission>
<class-name>java.lang.RuntimePermission</class-name>
<name>createClassLoader</name>
</permission>
@@ -17,4 +22,20 @@
<name>org.apache.cxf.permission</name>
<actions>resolveUri</actions>
</permission>
+
+ <permission>
+ <class-name>java.util.PropertyPermission</class-name>
+ <name>jboss.bind.address</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>
Added: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/serviceref/servlet-client/WEB-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/serviceref/servlet-client/WEB-INF/permissions.xml (rev 0)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/serviceref/servlet-client/WEB-INF/permissions.xml 2015-06-15 07:09:21 UTC (rev 19790)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<permissions xmlns="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ 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>getClassLoader</name>
+ </permission>
+ <permission>
+ <class-name>java.util.PropertyPermission</class-name>
+ <name>user.dir</name>
+ <actions>read</actions>
+ </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>jboss.bind.address</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>
Property changes on: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/serviceref/servlet-client/WEB-INF/permissions.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/publish/META-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/publish/META-INF/permissions.xml 2015-06-15 05:48:28 UTC (rev 19789)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/publish/META-INF/permissions.xml 2015-06-15 07:09:21 UTC (rev 19790)
@@ -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>
9 years, 6 months
JBossWS SVN: r19789 - in stack/cxf/trunk/modules/testsuite/shared-tests/src/test: java/org/jboss/test/ws/jaxws/samples/context and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2015-06-15 01:48:28 -0400 (Mon, 15 Jun 2015)
New Revision: 19789
Added:
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/addressing/WEB-INF/permissions.xml
Modified:
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/addressing/AddressingStatefulTestCase.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionServletTestCase.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/eardeployment/META-INF/permissions.xml
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/exception/META-INF/permissions.xml
Log:
Fix permssion failures
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/addressing/AddressingStatefulTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/addressing/AddressingStatefulTestCase.java 2015-06-12 09:37:37 UTC (rev 19788)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/addressing/AddressingStatefulTestCase.java 2015-06-15 05:48:28 UTC (rev 19789)
@@ -61,6 +61,7 @@
.addClass(org.jboss.test.ws.jaxws.samples.addressing.StatefulEndpoint.class)
.addClass(org.jboss.test.ws.jaxws.samples.addressing.StatefulEndpointImpl.class)
.addAsResource("org/jboss/test/ws/jaxws/samples/addressing/jaxws-handlers.xml")
+ .addAsManifestResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/addressing/WEB-INF/permissions.xml"), "permissions.xml")
.setWebXML(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/addressing/WEB-INF/web.xml"));
return archive;
}
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.java 2015-06-12 09:37:37 UTC (rev 19788)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.java 2015-06-15 05:48:28 UTC (rev 19789)
@@ -63,6 +63,7 @@
.setManifest(new StringAsset("Manifest-Version: 1.0\n"
+ "Dependencies: org.jboss.ws.common\n"))
.addClass(org.jboss.test.ws.jaxws.samples.context.EndpointEJB.class)
+ .addAsManifestResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/context/META-INF/permissions.xml"), "permissions.xml")
.addAsManifestResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/context/META-INF/jboss.xml"), "jboss.xml");
return archive;
}
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionServletTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionServletTestCase.java 2015-06-12 09:37:37 UTC (rev 19788)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionServletTestCase.java 2015-06-15 05:48:28 UTC (rev 19789)
@@ -48,6 +48,7 @@
.addClass(org.jboss.test.helper.TestServlet.class)
.addClass(org.jboss.test.ws.jaxws.samples.exception.ExceptionHelper.class)
.addClass(org.jboss.test.ws.jaxws.samples.exception.SOAP12ExceptionHelper.class)
+ .addAsManifestResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/handlerchain/WEB-INF/permissions.xml"), "permissions.xml")
.addPackage("org.jboss.test.ws.jaxws.samples.exception.client");
return archive;
}
Added: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/addressing/WEB-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/addressing/WEB-INF/permissions.xml (rev 0)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/addressing/WEB-INF/permissions.xml 2015-06-15 05:48:28 UTC (rev 19789)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<permissions xmlns="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ 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>getBootModuleLoader</name>
+ </permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-name>
+ <name>getClassLoader</name>
+ </permission>
+ <permission>
+ <class-name>java.util.PropertyPermission</class-name>
+ <name>user.dir</name>
+ <actions>read</actions>
+ </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>jboss.bind.address</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>
Property changes on: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/addressing/WEB-INF/permissions.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/eardeployment/META-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/eardeployment/META-INF/permissions.xml 2015-06-12 09:37:37 UTC (rev 19788)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/eardeployment/META-INF/permissions.xml 2015-06-15 05:48:28 UTC (rev 19789)
@@ -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/exception/META-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/exception/META-INF/permissions.xml 2015-06-12 09:37:37 UTC (rev 19788)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/exception/META-INF/permissions.xml 2015-06-15 05:48:28 UTC (rev 19789)
@@ -5,7 +5,40 @@
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.util.PropertyPermission</class-name>
+ <name>jboss.bind.address</name>
+ <actions>read</actions>
+ </permission>
+ <permission>
<class-name>java.lang.RuntimePermission</class-name>
+ <name>setContextClassLoader</name>
+ </permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-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>
9 years, 6 months
JBossWS SVN: r19788 - in stack/cxf/trunk/modules/testsuite/shared-tests/src/test: resources/jaxws/samples/handlerchain/WEB-INF and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2015-06-12 05:37:37 -0400 (Fri, 12 Jun 2015)
New Revision: 19788
Added:
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/handlerchain/WEB-INF/permissions.xml
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/webservicerefsec/WEB-INF/permissions.xml
Modified:
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java
Log:
Fix permission failure
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java 2015-06-12 09:06:33 UTC (rev 19787)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java 2015-06-12 09:37:37 UTC (rev 19788)
@@ -69,6 +69,7 @@
.addClass(org.jboss.test.ws.jaxws.samples.handlerchain.LogHandler.class)
.addClass(org.jboss.test.ws.jaxws.samples.handlerchain.RoutingHandler.class)
.addClass(org.jboss.test.ws.jaxws.samples.handlerchain.ServerMimeHandler.class)
+ .addAsManifestResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/handlerchain/WEB-INF/permissions.xml"), "permissions.xml")
.addAsResource("org/jboss/test/ws/jaxws/samples/handlerchain/jaxws-handlers-server.xml")
.setWebXML(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/handlerchain/WEB-INF/web.xml"));
return archive;
Added: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/handlerchain/WEB-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/handlerchain/WEB-INF/permissions.xml (rev 0)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/handlerchain/WEB-INF/permissions.xml 2015-06-12 09:37:37 UTC (rev 19788)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<permissions xmlns="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ 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.util.PropertyPermission</class-name>
+ <name>jboss.bind.address</name>
+ <actions>read</actions>
+ </permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-name>
+ <name>setContextClassLoader</name>
+ </permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-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>
Property changes on: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/handlerchain/WEB-INF/permissions.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
Added: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/webservicerefsec/WEB-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/webservicerefsec/WEB-INF/permissions.xml (rev 0)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/webservicerefsec/WEB-INF/permissions.xml 2015-06-12 09:37:37 UTC (rev 19788)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<permissions xmlns="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ 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.util.PropertyPermission</class-name>
+ <name>jboss.bind.address</name>
+ <actions>read</actions>
+ </permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-name>
+ <name>setContextClassLoader</name>
+ </permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-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>
Property changes on: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/webservicerefsec/WEB-INF/permissions.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
9 years, 6 months
JBossWS SVN: r19787 - in stack/cxf/trunk/modules/testsuite/shared-tests/src/test: java/org/jboss/test/ws/jaxws/samples/webservicerefsec and 3 other directories.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2015-06-12 05:06:33 -0400 (Fri, 12 Jun 2015)
New Revision: 19787
Modified:
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefTestCase.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/webservicerefsec/WebServiceRefSecTestCase.java
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3140/WEB-INF-Client/permissions.xml
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3282/META-INF/permissions.xml
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/webserviceref/META-INF/permissions.xml
Log:
Fix permission failures
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefTestCase.java 2015-06-10 20:50:18 UTC (rev 19786)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefTestCase.java 2015-06-12 09:06:33 UTC (rev 19787)
@@ -126,6 +126,7 @@
.addClass(org.jboss.test.ws.jaxws.samples.webserviceref.ServletClient.class)
.addAsWebInfResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/webserviceref/WEB-INF-client/jboss-web.xml"), "jboss-web.xml")
.addAsWebInfResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/webserviceref/META-INF/wsdl/Endpoint.wsdl"), "wsdl/Endpoint.wsdl")
+ .addAsManifestResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/webserviceref/META-INF/permissions.xml"), "permissions.xml")
.addAsWebInfResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/webserviceref/META-INF/wsdl/MultipleEndpoint.wsdl"), "wsdl/MultipleEndpoint.wsdl")
.setWebXML(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/webserviceref/WEB-INF-client/web.xml"));
return archive;
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/webservicerefsec/WebServiceRefSecTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/webservicerefsec/WebServiceRefSecTestCase.java 2015-06-10 20:50:18 UTC (rev 19786)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/webservicerefsec/WebServiceRefSecTestCase.java 2015-06-12 09:06:33 UTC (rev 19787)
@@ -69,6 +69,7 @@
.addClass(org.jboss.test.ws.jaxws.samples.webservicerefsec.EndpointService.class)
.addAsWebInfResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/webservicerefsec/WEB-INF/jboss-web.xml"), "jboss-web.xml")
.addAsWebInfResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/webservicerefsec/WEB-INF/wsdl/Endpoint.wsdl"), "wsdl/Endpoint.wsdl")
+ .addAsManifestResource(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/webservicerefsec/WEB-INF/permissions.xml"), "permissions.xml")
.setWebXML(new File(JBossWSTestHelper.getTestResourcesDir() + "/jaxws/samples/webservicerefsec/WEB-INF/web.xml"));
return archive;
}
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3140/WEB-INF-Client/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3140/WEB-INF-Client/permissions.xml 2015-06-10 20:50:18 UTC (rev 19786)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3140/WEB-INF-Client/permissions.xml 2015-06-12 09:06:33 UTC (rev 19787)
@@ -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>
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3282/META-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3282/META-INF/permissions.xml 2015-06-10 20:50:18 UTC (rev 19786)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/jbws3282/META-INF/permissions.xml 2015-06-12 09:06:33 UTC (rev 19787)
@@ -8,4 +8,8 @@
<class-name>java.lang.RuntimePermission</class-name>
<name>org.jboss.as.server.LOOKUP_CURRENT_SERVICE_CONTAINER</name>
</permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-name>
+ <name>org.jboss.as.server.LOOKUP_CURRENT_SERVICE_CONTAINER</name>
+ </permission>
</permissions>
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/webserviceref/META-INF/permissions.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/webserviceref/META-INF/permissions.xml 2015-06-10 20:50:18 UTC (rev 19786)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/src/test/resources/jaxws/samples/webserviceref/META-INF/permissions.xml 2015-06-12 09:06:33 UTC (rev 19787)
@@ -5,7 +5,16 @@
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.util.PropertyPermission</class-name>
+ <name>jboss.bind.address</name>
+ <actions>read</actions>
+ </permission>
+ <permission>
<class-name>java.lang.RuntimePermission</class-name>
+ <name>setContextClassLoader</name>
+ </permission>
+ <permission>
+ <class-name>java.lang.RuntimePermission</class-name>
<name>getClassLoader</name>
</permission>
<permission>
@@ -17,4 +26,19 @@
<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>
9 years, 6 months
JBossWS SVN: r19786 - in stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf: config and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2015-06-10 16:50:18 -0400 (Wed, 10 Jun 2015)
New Revision: 19786
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/addressRewrite/SoapAddressRewriteHelper.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/config/CXFStackConfigFactory.java
Log:
[JBWS-3911] Validate value of wsdl-path-rewrite-rule when setting it
Modified: stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/addressRewrite/SoapAddressRewriteHelper.java
===================================================================
--- stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/addressRewrite/SoapAddressRewriteHelper.java 2015-06-10 20:49:13 UTC (rev 19785)
+++ stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/addressRewrite/SoapAddressRewriteHelper.java 2015-06-10 20:50:18 UTC (rev 19786)
@@ -107,6 +107,13 @@
return address;
}
}
+
+ public static void validatePathRewriteRule(String rule) {
+ if (rule == null) {
+ throw new IllegalArgumentException();
+ }
+ SEDProcessor.newInstance(rule);
+ }
public static boolean isAutoRewriteOn(SOAPAddressRewriteMetadata sarm)
{
Modified: stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/config/CXFStackConfigFactory.java
===================================================================
--- stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/config/CXFStackConfigFactory.java 2015-06-10 20:49:13 UTC (rev 19785)
+++ stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/config/CXFStackConfigFactory.java 2015-06-10 20:50:18 UTC (rev 19786)
@@ -30,6 +30,7 @@
import org.jboss.wsf.spi.classloading.ClassLoaderProvider;
import org.jboss.wsf.spi.management.StackConfig;
import org.jboss.wsf.spi.management.StackConfigFactory;
+import org.jboss.wsf.stack.cxf.addressRewrite.SoapAddressRewriteHelper;
/**
*
@@ -126,4 +127,10 @@
});
}
}
+
+ @Override
+ public void validatePathRewriteRule(String rule)
+ {
+ SoapAddressRewriteHelper.validatePathRewriteRule(rule);
+ }
}
\ No newline at end of file
9 years, 6 months
JBossWS SVN: r19785 - stack/cxf/trunk.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2015-06-10 16:49:13 -0400 (Wed, 10 Jun 2015)
New Revision: 19785
Modified:
stack/cxf/trunk/pom.xml
Log:
Use latest spi and common
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2015-06-10 20:48:15 UTC (rev 19784)
+++ stack/cxf/trunk/pom.xml 2015-06-10 20:49:13 UTC (rev 19785)
@@ -62,8 +62,8 @@
<!-- Properties -->
<properties>
<jbossws.api.version>1.0.3.Final</jbossws.api.version>
- <jbossws.spi.version>3.0.0.Final</jbossws.spi.version>
- <jbossws.common.version>3.0.0.Final</jbossws.common.version>
+ <jbossws.spi.version>3.1.0-SNAPSHOT</jbossws.spi.version>
+ <jbossws.common.version>3.1.0-SNAPSHOT</jbossws.common.version>
<jbossws.common.tools.version>1.2.1.Final</jbossws.common.tools.version>
<jbossws.wildfly800.version>5.0.0.Final</jbossws.wildfly800.version>
<jbossws.wildfly810.version>5.0.0.Final</jbossws.wildfly810.version>
9 years, 6 months
JBossWS SVN: r19784 - common/trunk/src/main/java/org/jboss/ws/common/management.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2015-06-10 16:48:15 -0400 (Wed, 10 Jun 2015)
New Revision: 19784
Modified:
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
Log:
[JBWS-3911] Validate value of wsdl-path-rewrite-rule when setting it
Modified: common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
===================================================================
--- common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2015-06-10 20:47:54 UTC (rev 19783)
+++ common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2015-06-10 20:48:15 UTC (rev 19784)
@@ -283,6 +283,10 @@
public void setWebServicePathRewriteRule(String path, UpdateCallbackHandler uch)
{
+ if (path != null) {
+ setStackConfig();
+ stackConfig.validatePathRewriteRule(path);
+ }
synchronized (webServicePathRewriteRuleLock)
{
if (uch != null)
@@ -332,10 +336,7 @@
public void create() throws Exception
{
- //Retrieve the stackConfig using SPIProvider
- final ClassLoader cl = ClassLoaderProvider.getDefaultProvider().getServerIntegrationClassLoader();
- this.stackConfig = SPIProvider.getInstance().getSPI(StackConfigFactory.class, cl).getStackConfig();
-
+ setStackConfig();
MANAGEMENT_LOGGER.startingWSServerConfig(getImplementationTitle(), getImplementationVersion());
MBeanServer mbeanServer = getMbeanServer();
if (mbeanServer != null) {
@@ -349,6 +350,19 @@
serverConfig = this;
}
}
+
+ private void setStackConfig() {
+ if (stackConfig == null) {
+ synchronized (this)
+ {
+ if (stackConfig == null) {
+ //Retrieve the stackConfig using SPIProvider
+ final ClassLoader cl = ClassLoaderProvider.getDefaultProvider().getServerIntegrationClassLoader();
+ this.stackConfig = SPIProvider.getInstance().getSPI(StackConfigFactory.class, cl).getStackConfig();
+ }
+ }
+ }
+ }
public void destroy() throws Exception
{
9 years, 6 months
JBossWS SVN: r19783 - common/trunk.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2015-06-10 16:47:54 -0400 (Wed, 10 Jun 2015)
New Revision: 19783
Modified:
common/trunk/pom.xml
Log:
Use latest spi
Modified: common/trunk/pom.xml
===================================================================
--- common/trunk/pom.xml 2015-06-10 20:47:26 UTC (rev 19782)
+++ common/trunk/pom.xml 2015-06-10 20:47:54 UTC (rev 19783)
@@ -27,7 +27,7 @@
<!-- Properties -->
<properties>
- <jbossws.spi.version>3.0.0.Final</jbossws.spi.version>
+ <jbossws.spi.version>3.1.0-SNAPSHOT</jbossws.spi.version>
<jboss.jaxbintros.version>1.0.2.GA</jboss.jaxbintros.version>
<jboss.common.core.version>2.2.17.GA</jboss.common.core.version>
<jboss-logging.version>3.1.2.GA</jboss-logging.version>
9 years, 6 months
JBossWS SVN: r19782 - spi/trunk/src/main/java/org/jboss/wsf/spi/management.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2015-06-10 16:47:26 -0400 (Wed, 10 Jun 2015)
New Revision: 19782
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/management/StackConfig.java
Log:
[JBWS-3911] Validate value of wsdl-path-rewrite-rule when setting it
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/management/StackConfig.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/management/StackConfig.java 2015-06-08 12:45:25 UTC (rev 19781)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/management/StackConfig.java 2015-06-10 20:47:26 UTC (rev 19782)
@@ -33,4 +33,6 @@
String getImplementationTitle();
String getImplementationVersion();
+
+ void validatePathRewriteRule(String rule);
}
9 years, 6 months