Author: richard.opalka(a)jboss.com
Date: 2011-11-11 02:17:42 -0500 (Fri, 11 Nov 2011)
New Revision: 15234
Added:
shared-testsuite/trunk/testsuite/src/test/resources/jaxws/jbws2241/META-INF/jboss-ejb3.xml
Modified:
shared-testsuite/trunk/testsuite/src/test/ant-import/build-jars-jaxws.xml
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws2241/JBWS2241TestCase.java
Log:
fixing DD driven security configuration for AS7
Modified: shared-testsuite/trunk/testsuite/src/test/ant-import/build-jars-jaxws.xml
===================================================================
--- shared-testsuite/trunk/testsuite/src/test/ant-import/build-jars-jaxws.xml 2011-11-10
16:48:14 UTC (rev 15233)
+++ shared-testsuite/trunk/testsuite/src/test/ant-import/build-jars-jaxws.xml 2011-11-11
07:17:42 UTC (rev 15234)
@@ -698,6 +698,7 @@
</fileset>
<metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2241/META-INF">
<include name="jboss.xml" />
+ <include name="jboss-ejb3.xml" />
<include name="jboss-webservices.xml" />
</metainf>
</jar>
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws2241/JBWS2241TestCase.java
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws2241/JBWS2241TestCase.java 2011-11-10
16:48:14 UTC (rev 15233)
+++
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws2241/JBWS2241TestCase.java 2011-11-11
07:17:42 UTC (rev 15234)
@@ -45,7 +45,7 @@
public static Test suite()
{
- return new JBossWSTestSetup(JBWS2241TestCase.class,
"jaxws-jbws2241.jar");
+ return new JBossWSTestSetup(JBWS2241TestCase.class, "jaxws-jbws2241.jar",
!isTargetJBoss6());
}
public void setUp() throws MalformedURLException
Added:
shared-testsuite/trunk/testsuite/src/test/resources/jaxws/jbws2241/META-INF/jboss-ejb3.xml
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/resources/jaxws/jbws2241/META-INF/jboss-ejb3.xml
(rev 0)
+++
shared-testsuite/trunk/testsuite/src/test/resources/jaxws/jbws2241/META-INF/jboss-ejb3.xml 2011-11-11
07:17:42 UTC (rev 15234)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<jboss:jboss
+
xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
+
xmlns:spec="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee
http://www.jboss.org/j2ee/schema/jboss_5_0.xsd
+
http://java.sun.com/xml/ns/javaee
http://www.jboss.org/j2ee/schema/jboss-ejb3-spec-2_0.xsd"
+ version="3.1"
+ impl-version="2.0">
+
+ <spec:assembly-descriptor>
+ <security xmlns="urn:security">
+ <spec:ejb-name>EJB3Bean</spec:ejb-name>
+ <security-domain>JBossWS</security-domain>
+ </security>
+ <spec:security-role>
+ <spec:role-name>friend</spec:role-name>
+ </spec:security-role>
+ </spec:assembly-descriptor>
+
+</jboss:jboss>