last username used in CAS login page

Scott Battaglia scott.battaglia at gmail.com
Wed Mar 14 15:14:55 EDT 2007


Thanks.  I've created a JIRA issue:
http://www.ja-sig.org/issues/browse/CAS-479http://www.ja-sig.org/issues/browse/CAS-479

Apparently the "warn" feature is not a popular one... ;-)

On 3/14/07, Mat Lowery <mlowery at pentaho.org> wrote:
>
> I tried ${params.username} (notice that params is plural).  That didn't
> 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 I'm thinking that there's 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: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] 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 <mlowery at pentaho.org> 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
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>
> --
> -Scott Battaglia
>
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>



-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070314/3895522f/attachment.html 


More information about the cas mailing list