[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1082) Privileged Block to pop Subject Context
Anil Saldhana (JIRA)
jira-events at lists.jboss.org
Thu Sep 27 12:11:41 EDT 2007
Privileged Block to pop Subject Context
---------------------------------------
Key: JBMESSAGING-1082
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1082
Project: JBoss Messaging
Issue Type: Bug
Components: AS Integration
Reporter: Anil Saldhana
Assigned To: Tim Fox
Fix For: 1.4.0.GA
Any operations that you are doing with SecurityAssociation has to be in privileged blocks.
=============
java.security.AccessControlException: access denied (java.lang.RuntimePermission
org.jboss.security.SecurityAssociation.setPrincipalInfo)
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.SecurityAssociation.popSubjectContext(SecurityAssociation.java:491)
at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:221)
at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:158)
========================================================
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list