SecurityAspect->check() needs a privileged block
------------------------------------------------
Key: JBMESSAGING-1448
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1448
Project: JBoss Messaging
Issue Type: Sub-task
Reporter: Anil Saldhana
Assignee: Clebert Suconic
Caused by: java.security.AccessControlException: access denied
(javax.management.MBeanPermission
org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore#getSecurityMetadata[jboss.messaging:service=SecurityStore]
invoke)
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.mx.server.MBeanServerImpl.checkMBeanPermission(MBeanServerImpl.java:1735)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:663)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy89.getSecurityMetadata(Unknown Source)
at org.jboss.jms.server.container.SecurityAspect.check(SecurityAspect.java:284)
at
org.jboss.jms.server.container.SecurityAspect.handleCreateConsumerDelegate(SecurityAspect.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122)
At the following line:
at org.jboss.jms.server.container.SecurityAspect.check(SecurityAspect.java:284)
--
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