You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Natalie Vilenkin <NA...@amdocs.com> on 2002/02/13 15:58:03 UTC

filter and authentication

Hello.

To our knowledge, a request for a servlet is followed by an authentication
done by the web server (for example Base / Form authentication etc.).
We are interested in using the filtering mechanism (javax.servlet.Filter).

Our question is: What happens before what when a request is made by a
client: Filtering and then authentication, or authentication an then
filtering

a) client -> filter -> authentication -> servlet
or
b) client -> authentication -> filter -> servlet

Thanks in advance,
Ilana and Natalie


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: filter and authentication

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Wed, 13 Feb 2002, Natalie Vilenkin wrote:

> Date: Wed, 13 Feb 2002 16:58:03 +0200
> From: Natalie Vilenkin <NA...@amdocs.com>
> Reply-To: Tomcat Developers List <to...@jakarta.apache.org>
> To: "'tomcat-dev@jakarta.apache.org'" <to...@jakarta.apache.org>
> Subject: filter and authentication
>
> Hello.
>
> To our knowledge, a request for a servlet is followed by an authentication
> done by the web server (for example Base / Form authentication etc.).
> We are interested in using the filtering mechanism (javax.servlet.Filter).
>
> Our question is: What happens before what when a request is made by a
> client: Filtering and then authentication, or authentication an then
> filtering
>
> a) client -> filter -> authentication -> servlet
> or
> b) client -> authentication -> filter -> servlet
>

This kind of question is better directed to the TOMCAT-USER mailing list.
Subscription information is available at
<http://jakarta.apache.org/site/mail.html>.

The answer is (b) - authentication happens before any application
component (filter or servlet) is invoked.

> Thanks in advance,
> Ilana and Natalie
>

Craig


>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>