Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5636

[7.0.x] Application client has not assigned security permissions defined in parent EAR

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide
      1. Run server with security manager
      2. Add attached permissions.xml to ear/src/main/application/META-INF of app-client quickstart
      3. Deploy server part of the app-client quickstart
      4. Run client part of the app-client quickstart with security manager
      • $JBOSS_HOME/bin/appclient.sh -secmgr ear/target/jboss-app-client.ear#simpleClient.jar Hello from command line
      • ... AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "registerInterceptor")" ... will raise
      Show
      Run server with security manager Add attached permissions.xml to ear/src/main/application/META-INF of app-client quickstart Deploy server part of the app-client quickstart Run client part of the app-client quickstart with security manager $JBOSS_HOME/bin/appclient.sh -secmgr ear/target/jboss-app-client.ear#simpleClient.jar Hello from command line ... AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "registerInterceptor")" ... will raise

      Description

      When application client runs with security manager, it should have assigned security permissions defined in permissions.xml in parent EAR.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              baranowb Bartosz Baranowski
              Reporter:
              okotek Ondrej Kotek
              Tester:
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: