How to show the user name with form based authentication after an unsuccessful login?
- From: Andrea Desole <news@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 16 Jan 2006 16:13:51 +0100
I'm trying to use form based authentication in my web application. I created my login form, with a post method and action "j_security_check". In the form I put a text field with name "j_username" and a password field with name "j_password". The login seems to work fine.
What I find strange is that there is not a way, if the login fails, to show the user name when the login form is reloaded, as it would usually happen in a normal login.
I couldn't find anything in the servlet specification, and my concern is that it's actually not possible, which surprises me. Does anyone know anything about it?
.
- Follow-Ups:
- Prev by Date: Re: Local Classes - Access Modifiers?
- Next by Date: Re: Override an inner class?
- Previous by thread: going CRAZY with servlet / xls download on winXP
- Next by thread: Re: How to show the user name with form based authentication after an unsuccessful login?
- Index(es):
Relevant Pages
|