Roe*_*and 6 coldfusion ntlm cfhttp coldfusion-11
在ColdFusion 11中,Adobe增加了NTLM支持.但是我不明白我是如何让这个工作的.
特别是,文档似乎是错误的:它指出:
对于NTLM,要使用,redirect属性必须设置为false
但是,这样做时,ColdFusion会抛出以下异常:
当身份验证类型为NTLM时,不得将重定向设置为false.
有没有人使用了经验NTLM的CFHTTP?
我正在使用的代码:
<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>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
754 次 |
| 最近记录: |