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

Reply via email to