Thanks Brendan for your quick reply.. i was referring to below and other similar posts http://shiro-user.582556.n2.nabble.com/Redirect-after-successful-login-td7478727.html
In addition the definition of PassThruAuthenticationFilter confused me more http://shiro.apache.org/static/1.2.1/apidocs/org/apache/shiro/web/filter/authc/PassThruAuthenticationFilter.html If it's a normal web application, we can authenticate with shiro using authc.loginUrl and redirect to a page based on authc.successUrl. We can extend FormAuthenticationFilter and override setFailureAttribute method to show the error if authentication fails. However, in struts2+shiro environment, when i submit page for authentication, if shiro does the authentication and pass control to struts action, what should execute method return? For this to happen, i have to use PassThruAuthenticationFilter, which as per the definition asks programmatic authentication! In the example you have provided, what page will be shown for successful login? Also, if you are returning INPUTm it'll go back to login page, right? I was expecting to find a working example of struts 2 + shiro, because the basic requirement is same. Regards, Reji -- View this message in context: http://shiro-user.582556.n2.nabble.com/The-actual-meaning-of-authc-loginUrl-parameter-aka-how-i-lost-2-hours-tp7579530p7579902.html Sent from the Shiro User mailing list archive at Nabble.com.
