Skip to content

Commit

Permalink
Merge pull request wildfly#18128 from khermano/WFLY-15289_from_main
Browse files Browse the repository at this point in the history
[WFLY-19717] Remove unused Elytron permissions in MDBRoleTestCase, RunAsPrincipalTestCase, RunAsTestCase, RunAsEjbMdbTestCase, RunAsMDBUnitTestCase and LegacyCompliantPrincipalPropagationTestCase
  • Loading branch information
bstansberry authored Sep 19, 2024
2 parents 6d13fbf + a5093f1 commit 1377d5f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1377d5f

Please sign in to comment.