Building a composite attribute from sets of attributes

Etienne Dysli Metref etienne.dysli-metref at switch.ch
Wed Aug 7 11:15:21 EDT 2019


On 07/08/2019 16.33, Cantor, Scott wrote:
> If the LDAP entries coming back are separate entries, then yes, the
> individual values will line up as long as the number of values isn't
> different.
> 
> If they're one entry then the order is up to the LDAP server. I was
> thinking it was one entry, but I imagine not.

Oh they are separate entries, sorry if that wasn't clear.

> Your script may be ugly, but there's nothing less ugly you could do.
> Writing a dozen Java plugins to support something that will
> ultimately have to get turned into the same thing in the end isn't
> going to improve things.

I'd prefer to have that script covered by unit tests, yet building a
test harness to execute that bit of JavaScript the same way the IdP does
is too complicated and brittle. That's why I favour Java, testing is
easy. However, the less code the better, so if we get the same effect
with much less JavaScript than Java I'll live with it...

  Etienne

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://shibboleth.net/pipermail/dev/attachments/20190807/47951b11/attachment-0001.sig>


More information about the dev mailing list