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 <[EMAIL PROTECTED]> 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
[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