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

Application client has not assigned security permissions defined in parent EAR

XMLWordPrintable

    • 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

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

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              okotek@redhat.com Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: