After a few of customizations to some of the acegi filters, I have this last hurdle before my mod_rewrite is successful. This concerns the last requested url which acegi adds in the session with attribute name as AbstractProcessingFilter.ACEGI_SAVED_REQUEST_KEY. Now what is happening is that on relogin the rewritten url is not honoured because for
tomcat it was the original url that it obtained and which acegi saved with the above mentioned attribute name in the session.
For e.g. :
When I request for
http://myserver/myfile/1 which is mapped to
http://myserver/myfile.htm?param=1 and the session times out, acegi takes me to the login page and on relogin it redirects to
http://myserver/myfile.htm?param=1 rather than
http://myserver/myfile/1
If any of you have had this problem, please send me tips on a solution ASAP.
Thanking everyone in anticipation.