Skip to content

Commit

Permalink
[WFLY-10187] add missing permission for RemoteLocalCallTestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
soul2zimate committed Apr 16, 2018
1 parent c039307 commit 4e59dbc
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@

package org.jboss.as.test.multinode.remotecall;

import static org.jboss.as.test.shared.integration.ejb.security.PermissionUtils.createPermissionsXmlAsset;

import java.security.SecurityPermission;

import javax.ejb.EJBException;
import javax.naming.InitialContext;

Expand Down Expand Up @@ -68,6 +72,10 @@ public static Archive<?> deployment1() {
JavaArchive jar = createJar(ARCHIVE_NAME_CLIENT);
jar.addClasses(RemoteLocalCallTestCase.class);
jar.addAsManifestResource("META-INF/jboss-ejb-client-receivers.xml", "jboss-ejb-client.xml");
jar.addAsManifestResource(
createPermissionsXmlAsset(
new SecurityPermission("putProviderProperty.WildFlyElytron")),
"permissions.xml");
return jar;
}

Expand Down

0 comments on commit 4e59dbc

Please sign in to comment.