From: Adrian B. <adr...@jb...> - 2005-09-28 20:00:29
|
User: adrian Date: 05/09/28 16:00:17 Modified: src/main/org/jboss/web/tomcat/security Tag: Branch_4_0_3_SP1 RunAsListener.java Log: [JBAS-2305] - Port runas fix from Branch_4_0 Revision Changes Path No revision No revision 1.1.10.2 +3 -5 jboss-tomcat/src/main/org/jboss/web/tomcat/security/RunAsListener.java (In the diff below, changes in quantity of whitespace are not shown.) Index: RunAsListener.java =================================================================== RCS file: /cvsroot/jboss/jboss-tomcat/src/main/org/jboss/web/tomcat/security/RunAsListener.java,v retrieving revision 1.1.10.1 retrieving revision 1.1.10.2 diff -u -b -r1.1.10.1 -r1.1.10.2 --- RunAsListener.java 28 Sep 2005 03:12:31 -0000 1.1.10.1 +++ RunAsListener.java 28 Sep 2005 20:00:17 -0000 1.1.10.2 @@ -7,20 +7,19 @@ package org.jboss.web.tomcat.security; -import org.apache.catalina.core.StandardWrapper; -import org.apache.catalina.InstanceListener; import org.apache.catalina.InstanceEvent; +import org.apache.catalina.InstanceListener; import org.apache.catalina.Wrapper; -import org.jboss.security.RunAsIdentity; import org.jboss.logging.Logger; import org.jboss.metadata.WebMetaData; +import org.jboss.security.RunAsIdentity; /** * An InstanceListener used to push/pop the servlet run-as identity for the * init/destroy lifecycle events. * * @author Sco...@jb... - * @version $Revision: 1.1.10.1 $ + * @version $Revision: 1.1.10.2 $ */ public class RunAsListener implements InstanceListener { @@ -35,7 +34,6 @@ public RunAsListener() { this.metaData = (WebMetaData) metaDataLocal.get(); - metaDataLocal.set(null); } /** |