[jboss-jira] [JBoss JIRA] Created: (JBAS-3956) JACC PolicyContextHandler usage leaks ThreadLocal values

Brian Stansberry (JIRA) jira-events at jboss.com
Tue Dec 19 12:38:46 EST 2006


JACC PolicyContextHandler usage leaks ThreadLocal values
--------------------------------------------------------

                 Key: JBAS-3956
                 URL: http://jira.jboss.com/jira/browse/JBAS-3956
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: EJB2, Security, Web (Tomcat) service
    Affects Versions: JBossAS-4.0.5.GA, JBossAS-4.0.4.GA, JBossAS-4.0.3 SP1, JBossAS-4.0.3 Final
            Reporter: Brian Stansberry
         Assigned To: Brian Stansberry
             Fix For: JBossAS-4.2.0.CR1, JBossAS-4.0.5.SP1 


A number of the JACC PolicyContextHandler impls use a ThreadLocal. In many cases, the users of these classes are not making the necessary cleanup call and objects are leaking to the thread via the ThreadLocal.

A search for implementations of PolicyContextHandler and then a review of the usage of each impl found problems with:

org.jboss.ejb.BeanMetaDataPolicyContextHandler
org.jboss.ejb.plugins.EnterpriseBeanPolicyContextHandler
org.jboss.web.tomcat.security.HttpServletRequestPolicyContextHandler

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