I tried ${params.username} (notice that params is plural). That didnt
work. Thanks to you, I now know that it should be ${param.username}--which
works. But the reason I tried 'params' was that I copied-and-pasted from
casConfirmView.jsp:
<jsp:directive.include file="includes/top.jsp" />
<div id="welcome">
<p><spring:message code="screen.confirmation.message"
arguments="${param.service}${fn:indexOf(params.service, '?') eq -1 ? '?' :
'&'}ticket=${ticket}" /></p>
</div>
<jsp:directive.include file="includes/bottom.jsp" />
So Im thinking that theres a typo in casConfirmView.jsp. (i.e.
params.service should be param.service). This occurs in 3.0.5 and
3.0.7-RC1.
________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Scott Battaglia
Sent: Wednesday, March 14, 2007 1:30 PM
To: Yale CAS mailing list
Subject: Re: last username used in CAS login page
Do you want to show it on the login JSP page? If so, you can merely
reference the parameter in JSTL ${param.username}.
-Scott
On 3/14/07, Mat Lowery <[EMAIL PROTECTED]> wrote:
Is there a way to get the last attempted username, similar to
org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.ACEGI_SECURITY_LA
ST_USERNAME_KEY? I'd like to show the username after a failed login attempt
(due to bad credentials). I'm using CAS Server 3.0.5 . Thanks.
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas