Sharepoint 웹 서비스와 같은 M $ 백 엔드 서버에 연결하기 위해 Worklight HTTP 어댑터에서 NTLM 인증을 구현하려고합니다. adapter.xml 파일을 <ntlm>으로 설정했습니다.worklight http 어댑터 및 NTLM 인증
adapter.xml 구조 첫 번째 버전이었다
<authentication>
<ntlm />
<serverIdentity>
<username>user</username>
<password>password</password>
</serverIdentity>
</authentication>
내 테스트 작업등을 스튜디오로 로컬 완료, 나는 다음과 같은 문제가 얻을 :
1) 오류를 때 invocating WL 절차 :
Procedure invocation failed:Could not resolve placeholder 'local.hostname'
어디에서이 'local.hostname'설정을 사용해야합니까?
2) 문서 (IBM infocenter)에 지정된대로 ntlm 태그의 호스트 이름 속성을 지정하려고했는데 WL Studio에서 xml이 잘못 구성되었다고 말합니다.
<authentication>
<ntlm hostname="myComputer.intranet.com"/>
<serverIdentity>
<username>user</username>
<password>password</password>
</serverIdentity>
</authentication>
여기서 "myComputer.intranet.com"은 회사 네트워크 내의 컴퓨터 이름입니다. IBM 서비스 요청에서
Attribute 'hostname' is not allowed to appear in element 'ntlm'