shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffp <>
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 / 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

/login.jsp = authc
/ = authc
depending on whether you want to route directly to a jsp page or through

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:
Sent from the Shiro User mailing list archive at

View raw message