scripted data connector

Wessel, Keith kwessel at
Thu May 30 12:15:02 EDT 2019

Absolutely. Just list it as an InputDataConnector for the attribute definition, and whatever attributes you tell it to include in the InputDataConnector element will be made available to the script.

One word of warning, and this may or may not be a bug, but attributes from InputDataConnectors can be tested to see if they’re set to null in scripts. Attributes from InputAttributeDefinitions will never as far as I’ve seen test true as null. Rather, you need to do attribute.getValues().size() >0 to ensure that they aren’t empty.


From: users <users-bounces at> On Behalf Of Liam Hoekenga
Sent: Thursday, May 30, 2019 11:08 AM
To: Shib Users <users at>
Subject: scripted data connector

Can a scripted data connector use attributes provided / resolved by another data connector?

We have an attribute that is basically a serialized object, and I'd like to explode it into it's components. e.g.

{jobCategory=Staff}:{campus=UM_ANN-ARBOR}:{deptId=123456}:{deptGroup=BASKET_WEAVING}:{deptDescription=Department of Basket Weaving}:{deptGroupDescription=College of Fiber Arts}:{deptVPArea=VP_ARTS_AND_CRAFTS}:{jobcode=123456}:{jobFamily=999}:{emplStatus=A}:{regTemp=R}:{supervisorId=12345678}:{tenureStatus=NA}:{jobIndicator=P}

I'm currently doing it with mapped attributes, but wonder if there might be a better way?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list