Take a look at how form authenticator does it. See
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/FormAuthenticator.java?rev=1.24&view=markup
and the SavedRequest class in the same package.
Note that the way this restores the request, particularly the body
content, is *very* Tomcat specific.
Mark
Ajay Arjandas Daryanani wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone,
this is my first mail to this list, forgive me for any mistake I may make...
I'm developing a authorization filter for Tomcat 5; in some cases, if
the user credentials are invalid, I have to save the original request,
redirect the user to an external authentication engine, handle the
response and then proceed with the original request. The problem is, I
can't find a way to clone the request or create a new one.
Any comments are welcome.
Thanks everyone,
Ajay
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFDJqOSUIJoGmiuVrwRAqiHAJ4xBi9L2CwbPUAG2IfuZ04vnw7S1wCg9AJA
Z7/YgABDRBF0JMc0D82DtYs=
=eyYs
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]