Re: Feedback on my project proposal

2009-04-02 Thread Rahul Saxena
I have made appropriate changes in my application resulting from discussion in the tomcat dev community. Also I further welcome any more comments on it. Thanks -- Rahul Saxena B.Tech Part III Computer Science and Engineering I.T. B.H.U. ,Varanasi Contact No.-09452196645

Re: Feedback on my project proposal

2009-04-02 Thread Costin Manolache
On Thu, Apr 2, 2009 at 10:08 PM, Rahul Saxena < rahul.saxena.cs...@itbhu.ac.in> wrote: > As you said "An alternative would be to just define a small interface that > allows the filter to populate" ,does that mean defining an interface in the > default context for that host , and the filter can be

Re: Feedback on my project proposal

2009-04-02 Thread Rahul Saxena
As you said "An alternative would be to just define a small interface that allows the filter to populate" ,does that mean defining an interface in the default context for that host , and the filter can be instantiated using servlet context for this default web app(context) and then allow users to e

Re: Feedback on my project proposal

2009-04-02 Thread Costin Manolache
I wouldn't be that concerned about configuration - tomcat can still instantiate the filter independent of web.xml, like it does with the valve. Or the filter could be used 'user-space', i.e. user adding the filter explicitly and not using the declarative security. One of the problems with tomcat a

Re: Feedback on my project proposal

2009-04-02 Thread Rahul Saxena
It was a mistake I wrote "servlet context of this particular servlet " . Also as we have default host for a particular engine , we can have a default context for a particular host , then pass its servlet context to the filter , then can we map all servlets in this host to this filter or the servle

Re: Feedback on my project proposal

2009-04-02 Thread Mark Thomas
Rahul Saxena wrote: Could you clarify please? I don't understand your solution. > If we define a generic servlet for a particular host and then allow > servlets(of any application) in that particular host to implement that > generic servlet Is "generic servlet" an interface? If so, we have no way

Re: Feedback on my project proposal

2009-04-02 Thread Rahul Saxena
As you said "The auth thingy gets called once per request before the request gets to any filters or servlets."So it means that all the requests will pass through this auth thing and so it would be not be possible to use it for particular hosts or contexts??? On Thu, Apr 2, 2009 at 1:18 PM, David J

Re: Feedback on my project proposal

2009-04-02 Thread Rahul Saxena
If we define a generic servlet for a particular host and then allow servlets(of any application) in that particular host to implement that generic servlet and then I think we can supply the servlet context of this particular servlet to the correponding filter of that host . On Wed, Apr 1, 200

Re: Feedback on my project proposal

2009-04-02 Thread David Jencks
On Apr 2, 2009, at 12:32 AM, Rahul Saxena wrote: JSR 196 can be implemented only at the service levelIs it true?? not sure exactly what you mean each web app needs something to do its authentication, whether it be a standard FORM/BASIC/DIGEST/ CLIENT_CERT auth thingy or a jsr 196 a

Re: Feedback on my project proposal

2009-04-02 Thread David Jencks
On Apr 1, 2009, at 9:20 PM, Rahul Saxena wrote: Is Tomcat currently supports JSR 196?? no. I've been planning to work on jsr 196 for tomcat but haven't had much time. I implemented support for jetty. Geronimo has a jsr 196 provider implementation but I haven't been able to pry the tck

Re: Feedback on my project proposal

2009-04-02 Thread Rahul Saxena
JSR 196 can be implemented only at the service levelIs it true?? -- Rahul Saxena B.Tech Part III Computer Science and Engineering I.T. B.H.U. ,Varanasi Contact No.-09452196645

Re: Feedback on my project proposal

2009-04-01 Thread Rahul Saxena
Is Tomcat currently supports JSR 196?? On Thu, Apr 2, 2009 at 3:02 AM, Mark Thomas wrote: > Rahul Saxena wrote: > > If we derive several servlets form s generic servlet and then if we > specify > > a filter for that generic servlet, will that filter work for all derived > > servlets or not??? >

Re: Feedback on my project proposal

2009-04-01 Thread Mark Thomas
Rahul Saxena wrote: > If we derive several servlets form s generic servlet and then if we specify > a filter for that generic servlet, will that filter work for all derived > servlets or not??? Filters and servlets are independent. Any filter should work with any servlet. Mark > > Rahul Saxena

Re: Feedback on my project proposal

2009-04-01 Thread Ian Darwin
Rahul Saxena wrote: If we derive several servlets form a generic servlet and then if we specify a filter for that generic servlet, will that filter work for all derived servlets or not??? Indeed. It should make no difference how the servlets are derived; what matters is the filter-mapping in

Re: Feedback on my project proposal

2009-04-01 Thread Rahul Saxena
If we derive several servlets form s generic servlet and then if we specify a filter for that generic servlet, will that filter work for all derived servlets or not??? Rahul Saxena B.Tech Part III Computer Science And Engineering IT BHU

Re: Feedback on my project proposal

2009-04-01 Thread Mark Thomas
Rahul Saxena wrote: > I have posted my application on the GSOC site for the project "Convert > tomcat valves to filters" , Can anyone give their comment on the same... Feedback provided in the GSOC app and repeated below. Feel free to discuss your ideas regarding these questions on the dev lis