ColdFusion 11 CFHTTP NTLM Support

In ColdFusion 11, Adobe added NTLM support. However, I do not understand how I can make this work.

In particular, the documentation seems to be incorrect: it states:

For NTLM to work, the redirect attribute must be set to false

However, ColdFusion throws the following exception:

When the authentication type is NTLM, redirection should not be set to false.

Has anyone gained experience using NTLM in CFHTTP ?

The code I'm using is:

 <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> 
+5
source share

Source: https://habr.com/ru/post/1209765/


All Articles