v3.4.3 HTTPClient attribute resolver

Pablo Vidaurri psvidaurri at gmail.com
Tue Feb 5 19:22:43 EST 2019


Two questions:

1) I have a webservice that I need to call and pass in the user id. I
already have a RelationalDatabase DataConnector where I pass
in $requestContext.principalName to the query. That does not seem to work
for an HTTPClient (NonCachingHttpClient).

 <URLTemplate>
       <![CDATA[

https://uat.mycompany.com/webapp/mywebsvc/validate.sp?userId=XXX
         ]]>
  </URLTemplate>

for XXX, i've tried the following so far:
${uid.get(0)}
$requestContext.principalName
$resolutionContext.principal
$pathEscaper.escape($requestContext.principalName)
$pathEscaper.escape($resolutionContext.principal)

All of them are null. What is available during this webservice call? Why is
$requestContext.principalName  available in my db connector but not in my
http connector?

2) Is there a way to only execute the HttpClient connector in the attribute
resolver for only certain sp (entityId)? I have at least a dozen SP's but
only one requires the values from this webservice ... it would be nice to
not make the call if I didnt have to.

Thanks in advance.
-psv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190205/91828b98/attachment.html>


More information about the users mailing list