Thanks Brendan...wanted to make sure my understanding and approach is not wrong.
Hi domfarr, Requirement is more. But to start with, want to use struts2+shiro Yes, you are correct that's the first requirement. Now i have progressed more.. what i have done is, 1. Define /ShiroFilter /& /StrutsPrepareAndExecuteFilter /in web.xml 2. Define /authc /as /PassThruAuthenticationFilter /in shiro.ini 3. Define /authc.loginUrl = jsp/login.jsp/ & /authc.successUrl = jsp/Home.jsp/ 4. map/ /mydomain/**=authc/ in /[urls]/ 5. In struts.xml, map action name /login / to /MyActionClass /and method /login/ 6. In login.jsp define /action="login"/ & /method="post"/ 7. In MyActionClass class, do the login manually. */token = new UsernamePasswordToken(username, password);/ /SecurityUtils.getSubject().login(token);/* 8. If any errors, use /addActionError() /and redirect to login page It's working with few authorization issues. (which i will post later, after analyzing further) First, I wanted to know if this is the correct approach; especially doing the authentication in My Action class. Thanks in Advance. -- 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-tp7579530p7579906.html Sent from the Shiro User mailing list archive at Nabble.com.
