Returning more attributes in casServiceValidationSuccess.jsp, Robert Lewis
Scott Battaglia
scott.battaglia at gmail.com
Tue Jul 3 15:45:26 EDT 2007
Robert,
You had to do that because you added the UIN attribute as a property on the
Authentication object and not on the Principal itself.
-Scott
On 7/3/07, Robert Lewis <r.lewis at tamu.edu> wrote:
>
> Previously I posted:
> "I have extended Pricipal similar to SimplePrincipal however added one
> more attribute as a member variable. I intend to return the added
> attribute value within the returned xml message, so I added a line in
> casServiceValidationSuccess.jsp, as follows.
>
> <cas:UIN>${fn:escapeXml(assertion.chainedAuthentications[fn:length(
> assertion.chainedAuthentications)-1].principal.uin)}</cas:UIN>
> "
> which did not work.
>
> The solution I found was to use the line as follows.
>
> <cas:UIN>${fn:escapeXml(assertion.chainedAuthentications[fn:length(
> assertion.chainedAuthentications)-1].attributes.UIN)}</cas:UIN>
>
> Thanks,
>
> Robert Lewis
> _______________________________________________
> 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/20070703/86acc8d6/attachment.html
More information about the cas
mailing list