Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3956

JACC PolicyContextHandler usage leaks ThreadLocal values

    Details

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  brian.stansberry Brian Stansberry
                  Reporter:
                  brian.stansberry Brian Stansberry
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: