Authentication worklight http适配器和NTLM身份验证

Authentication worklight http适配器和NTLM身份验证,authentication,adapter,ntlm,ibm-mobilefirst,Authentication,Adapter,Ntlm,Ibm Mobilefirst,我正在尝试在Worklight HTTP适配器中实现NTLM身份验证,以便连接到m$后端服务器,如Sharepoint Web services。 我已经用设置了adapter.xml文件 adapter.xml结构的第一个版本是: <authentication> <ntlm /> <serverIdentity> <username>user</username> <password>passwo

我正在尝试在Worklight HTTP适配器中实现NTLM身份验证,以便连接到m$后端服务器,如Sharepoint Web services。 我已经用设置了adapter.xml文件

adapter.xml结构的第一个版本是:

<authentication>
  <ntlm />
  <serverIdentity>
    <username>user</username>
    <password>password</password>
  </serverIdentity>
</authentication>
我必须将此“local.hostname”设置放在哪里

2我试图指定ntlm标记的hostname属性,如IBM信息中心文档中所示,WL Studio说xml格式不正确

<authentication>
  <ntlm hostname="myComputer.intranet.com"/>
  <serverIdentity>
    <username>user</username>
    <password>password</password>
  </serverIdentity>
</authentication>

来自IBM服务请求的响应: 用于向启用NTLM的后端系统进行身份验证的用户名必须填充windows域名,后跟\和用户名

<serverIdentity>
  <username>domain\user</username>
  <password>password</password>
</serverIdentity>
这适用于硬编码的serverIdentity功能

由于我公司的安全治理,不能有通用服务器标识。因此,我必须将最终用户的凭据转发到后端系统进行身份验证

如何使用基于Worklight身份验证的mecanisms适配器执行此操作?例如,我可以在哪里设置用户名的域? 我可以根据适配器混合几种安全领域吗

Attribute 'hostname' is not allowed to appear in element 'ntlm'
<serverIdentity>
  <username>domain\user</username>
  <password>password</password>
</serverIdentity>