Acegi does return a more descriptive login message, but we don't use
it because we don't want to tell users the username exists, but the
password is invalid. Of course, on an intranet site, you might not be
as concerned about security.
If you look in login.jsp - there's a commented out line that allows
you to display Acegi's full message:
${sessionScope.ACEGI_SECURITY_LAST_EXCEPTION.message}
Matt
On 7/17/07, Msarda <[EMAIL PROTECTED]> wrote:
Hi all,
I am using appfuse and spring framework.
I want to customize the error message for login.jsp if user authentication
fails.
For each and every account setting the error message is invalid
username/password.
Depending on whether the account is locked or expired or password expired,i
want to change the message.
But in login.jsp it is only checking whether error is there or not.
How will i modify the error message?
--
View this message in context:
http://www.nabble.com/customizing-error-message-tf4095826s2369.html#a11646155
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]