ColdFusion 11 CFHTTP NTLM support

952 views Asked by At

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>
0

There are 0 answers