Thanks for your reply Jeff. I have set /login.do to authc in the filter chain definition. I have also updated the username, password in the jsp file as you suggested. I am still stuck at the same place. After I give a username, password and press enter I am returned to login.jsp with no error. I don't know if there is something more complicated in using Spring MVC or that I am missing something basic.
Can somebody provide me a full basic example of using spring mvc and apache shiro (authentication using mysql table)? -----Original Message----- From: jeffp [mailto:[email protected]] Sent: 05 January 2012 05:56 To: [email protected] Subject: Re: Not able to login - No error shown You've done a lot of this correctly, but a few issues remain. "loginUrl" needs to be mapped either to /login.jsp or /login.do and needs to be set to authc. The way you have it setup I believe it will look for /login/index.jsp. Change your filterChainDefinition to be something like this: /login.jsp = authc OR /login.do = authc depending on whether you want to route directly to a jsp page or through SpringMVC. I also think you need to use use the standard input names in your login.jsp form or when you do get it working you won't be able to authenticate: <input type="text" name="username" id="username" value=""> <input type="password" name="password" id="password"> -- View this message in context: http://shiro-user.582556.n2.nabble.com/Not-able-to-login-No-error-shown-tp7150562p7152672.html Sent from the Shiro User mailing list archive at Nabble.com.
