Re: TC 3.3: Form authentication vs. Application reloading

2001-09-23 Thread Bojan Smojver
[EMAIL PROTECTED] wrote: > > My understanding is that ContextXmlReader actually produces 'fresh' > > instances every time. > > True. Do you think it would be better ( or simpler ) to just change > ContextXmlReader to create a new set of per/context interceptors ? > > My thinking was that the i

Re: TC 3.3: Form authentication vs. Application reloading

2001-09-21 Thread cmanolache
On Fri, 21 Sep 2001, Bojan Smojver wrote: > > A simpler solution is to fix ReloadInterceptor - and save the current list > > of interceptors before removing the context, then add all per/context > > interceptors after the context is added back ( those having getContext() > > != null ). > > Just t

Re: TC 3.3: Form authentication vs. Application reloading

2001-09-20 Thread Bojan Smojver
[EMAIL PROTECTED] wrote: > > Hi Bojan, > > A simpler solution is to fix ReloadInterceptor - and save the current list > of interceptors before removing the context, then add all per/context > interceptors after the context is added back ( those having getContext() > != null ). OK. I'll look int

Re: TC 3.3: Form authentication vs. Application reloading

2001-09-20 Thread cmanolache
Hi Bojan, A simpler solution is to fix ReloadInterceptor - and save the current list of interceptors before removing the context, then add all per/context interceptors after the context is added back ( those having getContext() != null ). This would deal with other configuration mechanisms as we

Re: TC 3.3: Form authentication vs. Application reloading

2001-09-20 Thread Bojan Smojver
Bojan Smojver wrote: > Is this something that happens by design or am I looking at a possible > bug? By following what happens when TC starts and when it reloads the context, it seems that there should be contextInit() method in ContextXmlReader. This interceptor is responsible for calling the

Re: TC 3.3: Form authentication vs. Application reloading

2001-09-19 Thread Bojan Smojver
Bojan Smojver wrote: > > Just playing with Form authentication in TC 3.3. Have two Velocity pages > that are doing the authentication with a JDBC Realm (for that context > only). When Tomcat starts, all is fine. I get authenticated (or not) > depending on username/password combination I supply. S

TC 3.3: Form authentication vs. Application reloading

2001-09-19 Thread Bojan Smojver
Just playing with Form authentication in TC 3.3. Have two Velocity pages that are doing the authentication with a JDBC Realm (for that context only). When Tomcat starts, all is fine. I get authenticated (or not) depending on username/password combination I supply. Subsequent visits to the same pag