Attribute Script: Caused by: jdk.nashorn.internal.runtime.ECMAException: ReferenceError:

Peter Schober peter.schober at univie.ac.at
Wed Jul 27 05:13:02 EDT 2016


* Reid Watson <reid.watson at auckland.ac.nz> [2016-07-27 07:54]:
>          <resolver:AttributeDefinition  xsi:type="Script" xmlns="urn:mace:shibboleth:2.0:resolver:ad"
>                         sourceAttributeID="email" id="primaryMail">
>                 <resolver:Dependency ref=“LDAP" />

To paraphrase Niko's suggestion: The above assumes the referenced LDAP
Data Connector (I'm assuming "LDAP" is a data connector in your
config) produces an attribute called "email".

If that's not the case you'll need to adapt the sourceAttributeID
value to the actual attribute name for email addreses in your LDAP DSA
(e.g. "mail" or whatever), or alternatively change the dependency from
a data connector to an attribute definition that itself produces an
(IDP-internal) attribute called "email".
-peter


More information about the users mailing list