not able to find ScriptedAttribute block

Pablo Vidaurri psvidaurri at
Thu Apr 9 18:51:19 EDT 2020

I already have something like this working, but now need to use a 2nd
Attribute definition to execute a CDATA script for a custom attribute. On
startup I get the following:

Plugin 'foo' has a Data Connector dependency on plugin 'bar' which doesn't

I don't get it because there are no issues with the first script I already
have. In fact I tried to copy/paste what I already have using different id
but still no luck. This is my 2nd CDATA script in attribute-resolution.xml:

<AttributeDefinition id="foo" xsi:type="Simple">
        <InputDataConnector ref="bar" attributeNames="foo"/>
        <AttributeEncoder xsi:type="SAML1String"
name="urn:mace:dir:attribute-def:foo" />
        <AttributeEncoder xsi:type="SAML2String" name="username"
friendlyName="foo" />

 <AttributeDefinition id="bar" xsi:type="ScriptedAttribute"
         <InputDataConnector ref="myLDAP" attributeNames="uid cn"/>
                if(typeof uid != "undefined" && uid !=null)

my first script is exactly the same except using far/car instead of foo/bar
and it works fine.

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

More information about the users mailing list