<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Jun 29, 2016 at 6:25 PM Lucia Siochi <<a href="mailto:Lucia.Siochi@cpcc.edu">Lucia.Siochi@cpcc.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span style="line-height:1.5">I saw there is a username reference in validateSuccess.vm, which comes from a variable: </span><br></p><p class="MsoNormal"><u></u></p>
<p class="MsoNormal"><cas:user>$escapeUtils.escapeXml($ticketValidationResponse.userName)</cas:user><u></u><u></u></p>
<p class="MsoNormal">Can I change the value of $ticketValidationResponse.userName just before the response is generated?</p></div></div></blockquote><div>Yes.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"> If so, how?</p></div></div></blockquote><div>By editing the system/flows/cas/serviceValidate flow. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"> Is this a bad idea or will it cause problems?</p></div></div></blockquote><div>Yes. Editing flows is advanced customization and fraught with pitfalls. Avoid if possible. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Or is there a better way to get the originally-cased username value in the CAS Response?</p></div></div></blockquote><div>Disabling the username canonicalization flow as Tom described. The only tricky part is the profile activation part because you said you only wanted this functionality for the CAS protocol. Please review the following docs:</div><div><br></div><div><a href="https://wiki.shibboleth.net/confluence/display/IDP30/ActivationConditions">https://wiki.shibboleth.net/confluence/display/IDP30/ActivationConditions</a></div><div><br></div><div>Hopefully you can see how to do what you need after careful review.</div><div><br></div><div>M</div><div><br></div></div></div>