Skip to content

Commit

Permalink
Merge pull request #8360 from tadamski/WFLY-5167
Browse files Browse the repository at this point in the history
WFLY-5167 Add permissions necessary to run IIOPNamingInContainerTestC…
  • Loading branch information
n1hility committed Oct 30, 2015
2 parents c25b1aa + 2ce873d commit 81a93a8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Expand Up @@ -36,7 +36,8 @@ public class IIOPNamingInContainerTestCase {
public static Archive<?> deploy() {
return ShrinkWrap.create(JavaArchive.class, "test.jar")
.addPackage(IIOPNamingInContainerTestCase.class.getPackage())
.addAsManifestResource(IIOPNamingInContainerTestCase.class.getPackage(), "jboss-ejb3.xml", "jboss-ejb3.xml");
.addAsManifestResource(IIOPNamingInContainerTestCase.class.getPackage(), "jboss-ejb3.xml", "jboss-ejb3.xml")
.addAsManifestResource(IIOPNamingInContainerTestCase.class.getPackage(), "permissions.xml", "permissions.xml");
}

@Test
Expand Down
@@ -0,0 +1,11 @@
<?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>
</permissions>

0 comments on commit 81a93a8

Please sign in to comment.