• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Acegi problems with mod_rewrite

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Paul Jacob
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Any acegi or apache gurus who can solve this or suggest some pointers?
 
reply
    Bookmark Topic Watch Topic
  • New Topic