| java.lang.Object org.jboss.web.tomcat.security.RunAsListener
RunAsListener | public class RunAsListener implements InstanceListener(Code) | | An InstanceListener used to push/pop the servlet run-as identity for the
init/destroy lifecycle events.
author: Scott.Stark@jboss.org version: $Revision: 57206 $ |
Field Summary | |
public static ThreadLocal | metaDataLocal There is no api to install an initialized listener so the
WebMetaData had to be passed via a thread local. |
Method Summary | |
public void | instanceEvent(InstanceEvent event) Push the run-as identity on the before init/destroy, pop it on the
after init/destroy events. |
metaDataLocal | public static ThreadLocal metaDataLocal(Code) | | There is no api to install an initialized listener so the
WebMetaData had to be passed via a thread local.
|
RunAsListener | public RunAsListener()(Code) | | |
instanceEvent | public void instanceEvent(InstanceEvent event)(Code) | | Push the run-as identity on the before init/destroy, pop it on the
after init/destroy events.
Parameters: event - - the type of instance event |
|
|