[
https://jira.jboss.org/jira/browse/EJBTHREE-1619?page=com.atlassian.jira....
]
Andrew Lee Rubinger resolved EJBTHREE-1619.
-------------------------------------------
Fix Version/s: 1.0.0-Beta11
(was: 1.0.0-CR1)
Resolution: Done
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-Beta11
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