ColdFusion 11 CFHTTP NTLM support
In ColdFusion 11, Adobe has added NTLM
support. However I fail to understand how I can get this working.
In particular, the documentation seems to be wrong: it states:
For NTLM, to work, the redirect attribute must be set to false
However, when doing so, ColdFusion throws the following exception:
When authentication type is NTLM, redirect must not be set to false.
Has anybody got experience using NTLM
in CFHTTP
?
The code I am using:
<cfhttp url="#variables.webserviceURL#"
method="post"
result="httpResponse"
charset="utf-8"
timeout="3000"
authType="NTLM"
domain="myDomain"
username="myUser"
password="myPassword">
<cfhttpparam type="header" name="accept-encoding" value="no-compression" />
<cfhttpparam type="xml" value="#trim(soapRequest)#"/>
</cfhttp>
链接地址: http://www.djcxy.com/p/31204.html
上一篇: HTTPS查询字符串是否安全?