-
Sub-task
-
Resolution: Done
-
Major
-
None
-
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)
- relates to
-
SECURITY-340 JBossSecurityContext.setSecurityManagement needs to be executed within doPrivileged
- Closed