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 2010/12/30 00:26:10 UTC

More authc basics

I've got some other basics questions here: 
http://shiro-user.582556.n2.nabble.com/FormAuthenticationFilter-basics-question-tt5854588.html#none
FormAuthenticationFilter basics question .  But I had some other questions. 
Say your password is incorrect.  How would I show that? Maybe it would be
clearer if I could get the basic login page working, but would I expect it
to just go back to the loginUrl? Can I expect any parameters to be present?
-- 
View this message in context: http://shiro-user.582556.n2.nabble.com/More-authc-basics-tp5875825p5875825.html
Sent from the Shiro User mailing list archive at Nabble.com.

Re: More authc basics

Posted by jhericks <ja...@jasonerickson.com>.
Got it.  I figured that out, too over the weekend.  Thank you open source!
> 
> 
> View message @ http://shiro-user.582556.n2.nabble.com/More-authc-basics-tp5875825p5881337.html
> To unsubscribe from More authc basics, click here.


-- 
View this message in context: http://shiro-user.582556.n2.nabble.com/More-authc-basics-tp5875825p5886225.html
Sent from the Shiro User mailing list archive at Nabble.com.

Re: More authc basics

Posted by "jim.piersol@gmail.com" <ji...@gmail.com>.
Question, should that attribute be viewable if looking at the request in
Chrome Developer Console?



--
View this message in context: http://shiro-user.582556.n2.nabble.com/More-authc-basics-tp5875825p7581526.html
Sent from the Shiro User mailing list archive at Nabble.com.

Re: More authc basics

Posted by Jared Bunting <ja...@digitalreasoning.com>.
It appears to me that it will redisplay the login page.  The request
attribute "shiroLoginFailure" will be set with the class name of the
AuthenticationException that was thrown by the login attempt.  The name of
this attribute can be changed with the "failureKeyAttribute" property on the
FormAuthenticationFilter (authc).

This is what I interpret from the javadocs and code of
FormAuthenticationFilter.

-Jared

On 12/29/10 5:26 PM, "jhericks" <ja...@jasonerickson.com> wrote:

> 
> I've got some other basics questions here:
> http://shiro-user.582556.n2.nabble.com/FormAuthenticationFilter-basics-questio
> n-tt5854588.html#none
> FormAuthenticationFilter basics question .  But I had some other questions.
> Say your password is incorrect.  How would I show that? Maybe it would be
> clearer if I could get the basic login page working, but would I expect it
> to just go back to the loginUrl? Can I expect any parameters to be present?