[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1619) Setting permissions in Ejb3AuthenticationInterceptorv2 needs to be done in doPrivileged

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Thu Dec 11 10:40:38 EST 2008


Setting permissions in Ejb3AuthenticationInterceptorv2 needs to be done in doPrivileged
---------------------------------------------------------------------------------------

                 Key: EJBTHREE-1619
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1619
             Project: EJB 3.0
          Issue Type: Sub-task
          Components: core
            Reporter: Andrew Lee Rubinger
            Assignee: Andrew Lee Rubinger
             Fix For: 1.0.0-CR1


>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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list