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

Application client has not assigned security permissions defined in parent EAR

    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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swd847 Stuart Douglas
                  Reporter:
                  okotek Ondrej Kotek
                  Tester:
                  Ondrej Kotek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: