> Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm
> X-No-Archive: yes
> list-help: <mailto:tomcat-dev-help@jakarta.apache.org>
> list-unsubscribe: <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> list-post: <mailto:tomcat-dev@jakarta.apache.org>
> Delivered-To: mailing list tomcat-dev@jakarta.apache.org
> From: costin@eng.sun.com
> To: tomcat-dev@jakarta.apache.org, Arieh Markel <Arieh.Markel@central.sun.com>
> Subject: Re: Help with Interceptors
>
> > The idea I have in mind, is that the Interceptor will look at the Properties
> > of the HttpServletRequest, and depending on its finding, do things like:
> >
> > . add a property to the request
> > . selectively perform a servlet redirection
> > . return an error message
> >
> > Would ServiceInterceptor, or SecurityInterceptor be good starting points ?
>
> RequestInterceptor if you want to process the request.
> ContextInterceptor if you want "container"-event notifications.
>
> ( we are still working on this - but I think there are stable now,
> except configuration and few small details )
>
>
> Service and Security Interceptor are used by J2EE, will be part of the
> J2EE "adapter".
Has anybody incorporated a 'dtd' that includes the definitions of
the new Interceptors.
(The current server.dtd includes just an Interceptor object).
Arieh
--
Arieh Markel Sun Microsystems Inc.
Network Storage 500 Eldorado Blvd. MS UBRM11-194
e-mail: arieh.markel@sun.COM Broomfield, CO 80021
Let's go Panthers !!!! Phone: (303) 272-8547 x78547
(e-mail me with subject SEND PUBLIC KEY to get public key)
|