[EXTERNAL] Re: change case to Title case in IdP

O'Quinn, Dennis DENNIS_OQUINN at homedepot.com
Fri Jun 1 14:15:54 EDT 2018


Hi, can someone tell me how to just get the returned NameID (i.e., at the SP) converted to lowercase?

I have no control over how the data is stored or presented to me, it comes in uppercase, and, I just need to change it to lowercase before passing it off to the application.

Will the “<AttributeResolver type="LowerCase" source="NameID" />” directive do that for me (running Shibboleth 2.6.1).

Thanks, Dennis

Dennis O’Quinn | EDW Infrastructure Engineering | NAE115H @ 2250 MTC
The Home Depot | Marietta Technology Center | 2250 Newmarket Parkway | Marietta, GA  30067
•: Direct: 470.689.4513 | Cell: 470.658.1183 | Internal: 24513
•: doq at homedepot.com<mailto:doq at homedepot.com>



From: users <users-bounces at shibboleth.net> On Behalf Of IAM David Bantz
Sent: Friday, June 1, 2018 1:32 PM
To: Shib Users <users at shibboleth.net>
Subject: [EXTERNAL] Re: change case to Title case in IdP

+1 %-]

On Fri, Jun 1, 2018 at 3:57 AM, Peter Schober <peter.schober at univie.ac.at<mailto:peter.schober at univie.ac.at>> wrote:
* Lalith Jayaweera <ljayaweera at gmail.com<mailto:ljayaweera at gmail.com>> [2018-05-29 07:27]:
> Currently we got the user name stored in Upper case in the source system
> (e.g. LDAP)

That's where you'd need to fix it, in the source system.

> We want to change that into title case in the attribute resolver and
> pass it to SPs

You can't. There's no algorithm in the world that can get the case
correct in all, well, cases. There are too many cultural and regional
conventions involved (MacBla, Macbla, Mc Bla, De La Foo, De la Foo,
van der Foo, Van Foo, etc.pp.) -- ignoring the case (ha!) or non-latin
script completely for now -- and people are somewhat picky when it
comes to messing up their names.
(They're probably used to the specific messing up you've done so far
in ALL CAPS as they realize that's not how the name is supposed to be
spelled.)

So save yourself that trouble of implementing a "quick fix" downstream
that doesn't in fact fix anything, and start recording case properly
at the source systems.

-peter
--
For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.shibboleth.net_confluence_x_coFAAg&d=DwMFaQ&c=MtgQEAMQGqekjTjiAhkudQ&r=mn6DeBt1nj8Oqx06pdIK0_n5EfK6FeVHgdjBNpchyro&m=h7ZxkNGxfSssjzPzBOEASplxRrIKeY4Ox80T1A6qpW8&s=Wc5TuoVvRN5RrKclNUT5vuZtPwfT1KxwoTNU3sICKDU&e=>
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net<mailto:users-unsubscribe at shibboleth.net>


________________________________

The information in this Internet Email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Email are subject to the terms and conditions expressed in any applicable governing The Home Depot terms of business or client engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy and content of this attachment and for any damages or losses arising from any inaccuracies, errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature, which may be contained in this attachment and shall not be liable for direct, indirect, consequential or special damages in connection with this e-mail message or its attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20180601/9327489f/attachment.html>


More information about the users mailing list