具有基本身份验证的Mule HTTPS请求

时间:2017-06-19 07:56:09

标签: authentication https mule httprequest basic-authentication

我正在尝试使用基本身份验证在Mule中发出HTTPS请求。出于某种原因,我只在HTTP连接器中使用NTML和None作为选项。

所以我尝试将basic-authentication元素添加到request-config:

 <http:request-config name="Req_My" protocol="HTTPS" host="${my.host}" port="${my.port}"  doc:name="HTTP Request Configuration">
    <http:basic-authentication username="${my.user}" password="${my.password}" preemptive="true" />
</http:request-config>

但是在调试输出中没有设置Authorization标头。

我总是可以设置一个属性(如果我找到如何进行Mel Base64编码)但是根据文档,基本身份验证是标准功能

0 个答案:

没有答案
相关问题