AttributeDefinition: Merge results from 2 Data Connectors

Joel Levin joel.aaron.levin at gmail.com
Wed Feb 8 17:22:37 EST 2017


Thanks for the tip --- the below sends both 'givenName' & 'sn' -- but not
in format of 'givenName sn' (with space between 'givenName' & 'sn').

I am not too sure how to parse this via Script if 2 dependencies -- are
there any examples or tips that can point me?

<AttributeDefinition id="displayName" xsi:type="Simple">
            <Dependency ref="givenName" />
            <Dependency ref="sn" />
            <AttributeEncoder xsi:type="SAML2String"
name="urn:oid:2.16.840.1.113730.3.1.241"
friendlyName="displayName"/>

       </AttributeDefinition>

On Wed, Feb 8, 2017 at 1:21 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:

> On 2/8/17, 4:15 PM, "users on behalf of Brent Putman" <
> users-bounces at shibboleth.net on behalf of putmanb at georgetown.edu> wrote:
>
> > Ah.  The template wiki docs actually illustrate 2 deps:
>
> Oh, then it probably just works. I forgot Template lets you specify each
> source ID separately inside its own config, so that probably addresses it,
> it probably checks each dependency for a match.
>
> > but perhaps the first is intended to be an AttributeDefinition rather
> than DataConnector.  If 2 data connectors is a
> > problem, I guess one could always define 2 simple 'sn' and 'givenName'
> AttributeDefinitions to feed to the template one.
>
> Yes, if it can't automatically locate the right source data the way it
> should, that would work.
>
> -- Scott
>
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170208/71b5d44e/attachment.html>


More information about the users mailing list