shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffp <jeff3o...@gmail.com>
Subject Re: Not able to login - No error shown
Date Thu, 05 Jan 2012 00:26:17 GMT
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.

Mime
View raw message