Brian Pontarelli wrote:
> I think the issue is that the login is a component that exists on many 
> pages and the login/failure should return the user to the page they were 
> viewing rather than a stock login/home page.
> 
> The best bet at this point is probably to subclass APF and just redirect 
> or forward back to a URL stored in a form parameter. You will have to 
> place the current URL in a hidden field. You might be able to pull off a 
> referrer URL as well depending on your setup.

If the referrer URL approach works, I think this would be of general
usefulness to others as well. We could have a new property,
forceReturnToReferrerUrl on AbstractProcessingFilter. If anyone gets
this to consistently work, please pop your code into a JIRA patch and
I'll get it applied.

Cheers
Ben

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to