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

Brian Stansberry (JIRA) jira-events at jboss.com
Thu Jan 11 16:21:27 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-3956?page=all ]

Brian Stansberry updated JBAS-3956:
-----------------------------------

        Fix Version/s: JBossAS-5.0.0.Beta2
    Affects Version/s: JBossAS-5.0.0.Beta1
             Assignee:     (was: Brian Stansberry)

> 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: Web (Tomcat) service, Security, EJB2
>    Affects Versions: JBossAS-5.0.0.Beta1, JBossAS-4.0.3 Final, JBossAS-4.0.3 SP1, JBossAS-4.0.5.GA, JBossAS-4.0.4.GA
>            Reporter: Brian Stansberry
>             Fix For: JBossAS-4.2.0.CR1, JBossAS-4.0.5.SP1 , JBossAS-5.0.0.Beta2
>
>
> 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