tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wilmoth <jonwilm...@yahoo.com>
Subject Re: Dynamic form-login-page?
Date Thu, 28 Jun 2007 05:01:35 GMT
I have run this through the Struts mailing lists and am hoping for a change/solution.  Without
digging through the servlet spec myself can I ask if the Tomcat implementation is the expected
behavior (i.e. no processing of filters on container managed authentication redirects)?  Or
is it just not specified and left up to the container implementation?

Is it worth while opening a bugzilla entry for a configurable Tomcat implementation that wouldn't
require a servlet?

----- Original Message ----
From: Christopher Schultz <chris@christopherschultz.net>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Wednesday, June 27, 2007 6:03:26 AM
Subject: Re: Dynamic form-login-page?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jon,

Jon Wilmoth wrote:
> Unfortunately it looks like the Struts 2 architectural change is the 
> culprit after all.

That's an interesting side-effect of switching from a servlet to a filter.

> This is a major bummer to say the least.  I'm not sure if the tomcat
> implementation of the servlet spec is flawed, if there's a gap in the
> servlet spec or what. I am surprised I'm the first S2 user to run
> into this.  I'd GREATLY appreciate if one of the Tomcat developers
> monitoring this list could comment on the current implementation of
> ApplicationDispatcher.invoke and possibly suggest a workaround.

I might take this question (back?) to the struts-users list and ask if
anyone has successfully done this on servers other than Tomcat. You're
kind of in a Tomcat ghetto, here.

> For example would it be feasible to plug-in a subclass of 
> org.apache.catalina.core.ApplicationDispatcher that had an invoke 
> method that always executed the filter chain even if the servlet was 
> null?

I think a better idea might be to see if you can re-create the
ActionServlet in struts and use that for selected URL patterns --
essentially going back to old behavior. I wouldn't be surprised if the
ActionServlet still exists in some form in struts.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGgmAe9CaO5/Lv0PARAsOAAJ9EGvAb3EhUXLiiI1oVSzAfGU6ZtACfVWKC
0YdaMCIzaavtDOJuyxkECrY=
=YqJq
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message