in resolver, how to use email attribute from ldap for dataconnector URLTemplate
Peter Schober
peter.schober at univie.ac.at
Mon Nov 25 08:18:43 EST 2019
* Pablo Vidaurri <psvidaurri at gmail.com> [2019-11-23 06:38]:
> I'm now trying to use that attribute as a query param into a URLTemplate:
>
> <DataConnector id="myRestWebSvc" xsi:type="HTTP" httpClientRef="shibboleth.NonCachingHttpClient">
> <URLTemplate>
> <![CDATA[
> http://localhost:8080/rest/v3/getUserInfo?emailId=$paramEscaper.escape($myMail)
> ]]>
> </URLTemplate>
Just noting that your DataConnector has neither an
<InputAttributeDefinition ref="myMail" />
nor an
<InputDataConnector ref="myLDAP" attributeNames="email"/>
(in which case it would have to reference $email, not $myMail)
dependency declared.
-peter
More information about the users
mailing list