Hi,
I have a Spring MVC web application configured such that in web.xml my shiroFilter is a org.springframework.web.filter.DelegatingFilterProxy and the shiroFilter bean is org.apache.shiro.spring.web.ShiroFilterFactoryBean. I use a shiro filter called authc which is a org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter configured via the factory bean to have loginUrl of /login which is a Spring Controller. What this means in English is that I have configured Shiro to delegate login to a Spring Controller and all is working fine. However, I now need to add the capability to remember a requested URL and redirect to that if the user first had to authenticate. Shiro already supports this and the PassThruAuthenticationFilter saves the request but what I want to know is how I can make use of the Shiro functionality to easily redirect the user to their originally requested URL upon a successful login from within the code of my controller. Cheers, Marcus.
