User attribute via HttpClient, needs userId in header

Pablo Vidaurri psvidaurri at gmail.com
Mon May 20 22:43:18 UTC 2024


I'm trying to resolve a user attribute via a http webservice call. My
problem is that this call needs the userId passed in as a header. So far I
am only able to get this to work by passing in a static header with an
entry in global.xml
<util:map id="myCustomBean">
   <entry key "UserId" value="123XYZ"/>
</util:map>

then in attribute-resolver.xml have
<DateaConnector id ..... headerMapRef="myCustomBean">

Is it possible to define a new bean and pass the userId in the constructor
with haederMapRef such as: myCustomBean("123XYZ")? and if so, where is the
best place to put this new custom bean?

-psv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20240520/77b8b57a/attachment.htm>


More information about the users mailing list