Re: Disable servlet runtime

2007-02-05 Thread Subscriber
Gael Marziou wrote: Solution may depend on which criteria you use to determine whether you should enable or disable a feature. Without knowing more on your requirements, I would use a servlet controller and JAAS permissions granted per role or subject in order to enable/disable features. I

Re: Disable servlet runtime

2007-02-01 Thread Gael Marziou
Solution may depend on which criteria you use to determine whether you should enable or disable a feature. Without knowing more on your requirements, I would use a servlet controller and JAAS permissions granted per role or subject in order to enable/disable features. Gael --

Re: Disable servlet runtime

2007-01-31 Thread Tim Funk
You should be able to do this via Servlet Filter. -Tim Subscriber wrote: Hi, I would like to know if it is possible to disable a servlet within a web application while it is running. My scenario is, that I would like to turn on/off different features in my webapplication. These features are

Re: Disable servlet runtime

2007-01-31 Thread Subscriber
Peter Crowther wrote: A Tomcat-specific solution: Implement a Valve that intercepts all incoming requests (it has to be a tomcat-specific Valve rather than a Filter, because Filters are per-webapp). In that Valve, examine the request URL, determine which servlet it maps to, check whether then se

RE: Disable servlet runtime

2007-01-31 Thread Peter Crowther
> From: Subscriber [mailto:[EMAIL PROTECTED] > I would like to know if it is possible to disable a servlet > within a web > application while it is running. My scenario is, that I would like to > turn on/off different features in my webapplication. These > features are > implemented as servle

Disable servlet runtime

2007-01-31 Thread Subscriber
Hi, I would like to know if it is possible to disable a servlet within a web application while it is running. My scenario is, that I would like to turn on/off different features in my webapplication. These features are implemented as servlets and therefore be able to turn them on and off with