Returning more attributes in casServiceValidationSuccess.jsp

Robert Lewis r.lewis at tamu.edu
Mon Jul 2 10:43:33 EDT 2007


Hi,

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>

However, what I experience during runtime is that the jsp program tries
to obtain the value of uin and cannot find it.  I have looked everywhere
that I know to look to figure out what I have to change so that this
member variable within my Principal class is visible, without success. I
am posting to see if anyone else has done a similar thing and could tell
me how they successfully got it to work.

Thanks,

Bob


More information about the cas mailing list