Re: enabling/disabling a servlet filter conditionally

2008-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | I have one more question, if you would be so kind and if it is not too | heavy to handle here (and at the risk of sounding very "amateur") : Hey, this list is what its members make of it. If [all of] you want to discuss

Re: enabling/disabling a servlet filter conditionally

2008-08-04 Thread André Warnier
André Warnier wrote: Thanks, a lot. [etc..] I have one more question, if you would be so kind and if it is not too heavy to handle here (and at the risk of sounding very "amateur") : In the standard condiguration, the JCIFS filter comes as a jar, which gets placed in the WEB-INF/lib sub-dir

Re: enabling/disabling a servlet filter conditionally

2008-08-04 Thread André Warnier
Thanks, a lot. It will take me some time to digest this, and some more time to be in the conditions to actually try it out. But you have indeed given me already more hints than what I could have reasonably hoped for. As far as filter B init parameters are concerned, I guess the line _jcifs.i

Re: enabling/disabling a servlet filter conditionally

2008-08-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | To talk in concrete terms, this here is filter B : | http://jcifs.samba.org/src/docs/ntlmhttpauth.html The details of Filter B are entirely irrelevant. | After filter B, I have my own filter C, which must remain in pla

Re: enabling/disabling a servlet filter conditionally

2008-08-03 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | Can one dynamically disable a servlet filter under some conditions, from | within another preceding filter ? | | In other words, suppose I have a servlet configured approximately like | this :

Re: enabling/disabling a servlet filter conditionally

2008-08-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | Can one dynamically disable a servlet filter under some conditions, from | within another preceding filter ? | | In other words, suppose I have a servlet configured approximately like | this : [snip] | And suppose that

Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread Hassan Schroeder
On Fri, Aug 1, 2008 at 3:30 PM, André Warnier <[EMAIL PROTECTED]> wrote: >> You could /probably/ -- untested conjecture -- break the FilterChain at >> that point by forwarding to a URL for which Filter B wasn't applied (or >> was applied only to a REQUEST rather than FORWARD. >> > On second read,

Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread André Warnier
Hassan Schroeder wrote: On Fri, Aug 1, 2008 at 1:39 PM, André Warnier <[EMAIL PROTECTED]> wrote: Can one dynamically disable a servlet filter under some conditions, from within another preceding filter ? You could /probably/ -- untested conjecture -- break the FilterChain at that point by fo

Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread André Warnier
Hassan Schroeder wrote: Thanks, Hassan. At least now, I know that it's not going to be dead easy, apart from the last case. Does anyone else have a devious idea to achieve this without rewriting Tomcat ? What about if I turn the question around : Suppose that in the servlet's web.xml I had

Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread Hassan Schroeder
On Fri, Aug 1, 2008 at 1:39 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Can one dynamically disable a servlet filter under some conditions, from > within another preceding filter ? > And suppose that I control the code of filter A but have no access to the > code of filter B, and filter B has

Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread Pid
André Warnier wrote: Hi. Can one dynamically disable a servlet filter under some conditions, from within another preceding filter ? In other words, suppose I have a servlet configured approximately like this : filterA ... filterA parameters ... filterA servletX filte

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread Robert Koberg
Hola Juan, Have a great vacation! On Fri, 2008-08-01 at 22:54 +0200, [EMAIL PROTECTED] wrote: > Hola, > > Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. > > Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL > PROTECTED] > > Muchas gracias, > >

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread jpls
Hola, Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL PROTECTED] Muchas gracias, Juan Pedro López Altiria TIC - To start

Re: Re: Re: Re: Re: Re: Re: Re: Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread jpls
Hola, Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL PROTECTED] Muchas gracias, Juan Pedro López Altiria TIC - To start

Re: Re: Re: Re: Re: Re: Re: Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread jpls
Hola, Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL PROTECTED] Muchas gracias, Juan Pedro López Altiria TIC - To start

Re: Re: Re: Re: Re: Re: Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread jpls
Hola, Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL PROTECTED] Muchas gracias, Juan Pedro López Altiria TIC - To start

Re: Re: Re: Re: Re: Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread jpls
Hola, Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL PROTECTED] Muchas gracias, Juan Pedro López Altiria TIC - To start

Re: Re: Re: Re: Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread jpls
Hola, Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL PROTECTED] Muchas gracias, Juan Pedro López Altiria TIC - To start

Re: Re: Re: Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread jpls
Hola, Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL PROTECTED] Muchas gracias, Juan Pedro López Altiria TIC - To start

Re: Re: Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread jpls
Hola, Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL PROTECTED] Muchas gracias, Juan Pedro López Altiria TIC - To start

Re: Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread jpls
Hola, Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL PROTECTED] Muchas gracias, Juan Pedro López Altiria TIC - To start

Re: enabling/disabling a servlet filter conditionally

2008-08-01 Thread jpls
Hola, Estaré ausente de la oficina por vacaciones hasta el 20 de agosto. Para cualquier tema urgente por favor enviar el correo a la dirección [EMAIL PROTECTED] Muchas gracias, Juan Pedro López Altiria TIC - To start

enabling/disabling a servlet filter conditionally

2008-08-01 Thread André Warnier
Hi. Can one dynamically disable a servlet filter under some conditions, from within another preceding filter ? In other words, suppose I have a servlet configured approximately like this : filterA ... filterA parameters ... filterA servletX filterB ... filterB pa