[jboss-cvs] JBossAS SVN: r60918 - branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/security.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 26 14:26:57 EST 2007


Author: bstansberry at jboss.com
Date: 2007-02-26 14:26:57 -0500 (Mon, 26 Feb 2007)
New Revision: 60918

Modified:
   branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/security/JaccContextValve.java
Log:
Don't leak the WebMetaData to the ThreadLocal.

Modified: branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/security/JaccContextValve.java
===================================================================
--- branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/security/JaccContextValve.java	2007-02-26 18:10:13 UTC (rev 60917)
+++ branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/security/JaccContextValve.java	2007-02-26 19:26:57 UTC (rev 60918)
@@ -87,6 +87,7 @@
       {
          SecurityAssociationActions.clear();
          activeCS.set(null);
+         activeWebMetaData.set(null);
          HttpServletRequestPolicyContextHandler.setRequest(null);
       }
    }




More information about the jboss-cvs-commits mailing list