<div dir="ltr">+1 %-]</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 1, 2018 at 3:57 AM, Peter Schober <span dir="ltr"><<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Lalith Jayaweera <<a href="mailto:ljayaweera@gmail.com">ljayaweera@gmail.com</a>> [2018-05-29 07:27]:<br>
> Currently we got the user name stored in Upper case in the source system<br>
> (e.g. LDAP)<br>
<br>
That's where you'd need to fix it, in the source system.<br>
<br>
> We want to change that into title case in the attribute resolver and<br>
> pass it to SPs<br>
<br>
You can't. There's no algorithm in the world that can get the case<br>
correct in all, well, cases. There are too many cultural and regional<br>
conventions involved (MacBla, Macbla, Mc Bla, De La Foo, De la Foo,<br>
van der Foo, Van Foo, etc.pp.) -- ignoring the case (ha!) or non-latin<br>
script completely for now -- and people are somewhat picky when it<br>
comes to messing up their names.<br>
(They're probably used to the specific messing up you've done so far<br>
in ALL CAPS as they realize that's not how the name is supposed to be<br>
spelled.)<br>
<br>
So save yourself that trouble of implementing a "quick fix" downstream<br>
that doesn't in fact fix anything, and start recording case properly<br>
at the source systems.<br>
<span class="HOEnZb"><font color="#888888"><br>
-peter<br>
-- <br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/<wbr>confluence/x/coFAAg</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br>
</font></span></blockquote></div><br></div>