You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by jhericks <ja...@jasonerickson.com> on 2011/01/03 19:45:41 UTC
Re: FormAuthenticationFilter basics question
That was it. Thanks!
On Jan 3, 2011, at 10:19 AM, Jared Bunting [via Shiro User] wrote:
> I just wrote out a response with my configuration - but it's so simple I
> don't think it would help you and I think I see your problem. Remember
> that the filters defined in filterChainDefinitionMap are essentially servlet
> filters - they wrap an http request and operate on it before it hits your
> servlet (or jsp). The authc filter does the actual username/password check
> (in addition to redirecting you if you're not logged in) when you submit
> login.jsp. However, in your configuration authc never gets a change to
> handle the request when login.jsp is submitted.
>
> Try adding <entry key="/login.jsp" value="authc" /> to your
> filterChainDefinitionMap.
>
> -Jared
>
--
View this message in context: http://shiro-user.582556.n2.nabble.com/FormAuthenticationFilter-basics-question-tp5854588p5886224.html
Sent from the Shiro User mailing list archive at Nabble.com.