diff --git a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/MDBRoleTestCase.java b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/MDBRoleTestCase.java index 7294ba908817..9183ccc4e27e 100644 --- a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/MDBRoleTestCase.java +++ b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/MDBRoleTestCase.java @@ -74,7 +74,6 @@ public static Archive deployment() { // TODO WFLY-15289 The Elytron permissions need to be checked, should a deployment really need these? deployment.addAsResource(createPermissionsXmlAsset(new PropertyPermission("ts.timeout.factor", "read"), new ElytronPermission("setRunAsPrincipal"), - new ElytronPermission("handleSecurityEvent"), new ChangeRoleMapperPermission("ejb")), "META-INF/jboss-permissions.xml"); return deployment; } diff --git a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/runas/ejb2mdb/RunAsEjbMdbTestCase.java b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/runas/ejb2mdb/RunAsEjbMdbTestCase.java index 2bb9005bfe16..4670d03fbe84 100644 --- a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/runas/ejb2mdb/RunAsEjbMdbTestCase.java +++ b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/runas/ejb2mdb/RunAsEjbMdbTestCase.java @@ -81,7 +81,6 @@ public static Archive runAsEJB3() { // TODO WFLY-15289 Should these permissions be required? jar.addAsResource(createPermissionsXmlAsset(new PropertyPermission("ts.timeout.factor", "read"), new ElytronPermission("setRunAsPrincipal"), - new ElytronPermission("handleSecurityEvent"), new ChangeRoleMapperPermission("ejb")), "META-INF/jboss-permissions.xml"); jar.addAsManifestResource(new StringAsset("Dependencies: deployment.runasmdbejb-ejb2.jar \n"), "MANIFEST.MF"); return jar; diff --git a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/runas/mdb/RunAsMDBUnitTestCase.java b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/runas/mdb/RunAsMDBUnitTestCase.java index 1a3c7e376607..f02829a119cc 100644 --- a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/runas/mdb/RunAsMDBUnitTestCase.java +++ b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/security/runas/mdb/RunAsMDBUnitTestCase.java @@ -87,7 +87,6 @@ public static Archive deploy() { jar.addPackage(CommonCriteria.class.getPackage()); // TODO WFLY-15289 Should these permissions be required? jar.addAsResource(createPermissionsXmlAsset(new ElytronPermission("setRunAsPrincipal"), - new ElytronPermission("handleSecurityEvent"), new ChangeRoleMapperPermission("ejb")), "META-INF/jboss-permissions.xml"); return jar; }