[jboss-jira] [JBoss JIRA] Created: (JBAS-4231) JMXOpsAccessControlFilter is Not Thread Safe

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Thu Mar 22 10:24:34 EDT 2007


JMXOpsAccessControlFilter is Not Thread Safe
--------------------------------------------

                 Key: JBAS-4231
                 URL: http://jira.jboss.com/jira/browse/JBAS-4231
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Security
    Affects Versions: JBossAS-4.0.5.GA, JBossAS-3.2.8.SP2
            Reporter: Darran Lofthouse
         Assigned To: Darran Lofthouse
             Fix For: JBossAS-5.0.0.Beta2, JBossAS-4.2.0.GA, JBossAS-4.0.5.SP1 , JBossAS-3.2.8.SP2


According to the servlet specification (SRV.6.2.1) for each <filter> definition only one instance is instantiated per JVM.

The current implementation of JMXOpsAccessControlFilter stores the roles of the current user in a member variable, if there are mutliple calls simultaneously there will be a race condition one call can receive the permissions of the other user.

http://wiki.jboss.org/wiki/Wiki.jsp?page=AccessControlForJMXConsole

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