Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15289

Revisit permission in MDBRoleTestCase, RunAsPrincipalTestCase, RunAsTestCase, RunAsEjbMdbTestCase, RunAsMDBUnitTestCase

XMLWordPrintable

      It does not feel that a deployment should need all of the Elytron permissions assigning:

            deployment.addAsResource(createPermissionsXmlAsset(new PropertyPermission("ts.timeout.factor", "read"),
                                                               new ElytronPermission("setRunAsPrincipal"),
                                                               new ElytronPermission("handleSecurityEvent"),
                                                               new ChangeRoleMapperPermission("ejb")), "META-INF/jboss-permissions.xml");
      

      The failures were happening in EJB interceptors so it felt like a deployment should not need to be aware of these.

              lvydra Lukas Vydra
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: