Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1586 ClassHelper missing privileged blocks
  3. EJBTHREE-1619

Setting permissions in Ejb3AuthenticationInterceptorv2 needs to be done in doPrivileged

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-Beta11
    • None
    • core
    • None

      From AS TestSuite tests-security-manager org.jboss.test.securitymgr.test.EJB3SpecUnitTestCase:

      Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission org.jboss.security.plugins.
      JBossSecurityContext.setSecurityManagement)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
      at java.security.AccessController.checkPermission(AccessController.java:427)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      at org.jboss.security.plugins.JBossSecurityContext.setSecurityManagement(JBossSecurityContext.java:123)
      at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:119)

              arubinge@redhat.com Andrew Rubinger (Inactive)
              arubinge@redhat.com Andrew Rubinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: