not able to find ScriptedAttribute block

Pablo Vidaurri psvidaurri at
Fri Apr 10 08:45:23 EDT 2020

So, yes I was using InputDataConnector as a ref for one of my
 <AttributeDefinition id="foo" xsi:type="Simple">
        <InputDataConnector ref="setFoo" attributeNames="foo"/>
        <AttributeEncoder xsi:type="SAML1String"
name="urn:mace:dir:attribute-def:foo" />
        <AttributeEncoder xsi:type="SAML2String" name="urn:oid:"
friendlyName="foo" />

That reference was then calling CDATA to create the custom attr value:
     <AttributeDefinition id="setFoo" xsi:type="ScriptedAttribute"
         <InputDataConnector ref="mySource" attributeNames="uid cn"/>
               //some logic

That worked. But then I created a 2nd set of AttributeDefinitions but
instead of foo I was using bar with different logic in the CDATA. I guess
even though InputDataConnector worked for 1 instance, it did not work for
two instances.
I had to set my boo reference to use InputAttributeDefinition instead of
    <AttributeDefinition id="boo" xsi:type="Simple">
        <InputAttributeDefinition ref="setBoo" />
        <AttributeEncoder xsi:type="SAML1String"
name="urn:mace:dir:attribute-def:boo" />
        <AttributeEncoder xsi:type="SAML2String" name="username"
friendlyName="boo" />

I also went back and updated foo reference to also use

All good now.

On Fri, Apr 10, 2020 at 1:04 AM Peter Schober <peter.schober at>

> * Mak, Steve <makst at> [2020-04-10 01:29]:
> > AttrDef of type ScriptedAttribute is not usable for
> > "InputDataConnector", it is for "InputAttributeDefinition"
> Ah, you're saying the OP is incorrectly referencing his
> AttributeDefinition (of type ScriptedAttribute, but that seems
> immaterial here) as an InputDataConnector from another
> AttributeDefinition (it's not a DataConnector) instead of correctly
> referencing it with an InputAttributeDefinition?
> -peter
> --
> For Consortium Member technical support, see
> To unsubscribe from this list send an email to
> users-unsubscribe at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list