CFHTTP with NTLM

September 4, 2012 · By Gert Franz · 2 Comments

At a client we had a problem with the authentication for a CFHTTP request which had to surpass a proxy server which only accepts NTLM authentication. So we extended the syntax of the tag CFHTTP with the following attributes:

<CFHTTP
   url="theUrl"
   method="POST|GET"
   
   authtype="NTLM"
   domain="theDomain"
   workstation="theWorkstationName"
   username="theUserName"
   password="thePassword"

   ...
>


The extended tag will be available in the next release of Railo 4.0.1 and all subsequent releases.

Tags: Features · HowTo · Preview · Railo 4.0 · Tips

2 responses so far ↓

  • 1 Jesse Shaffer // Sep 25, 2012 at 10:51 PM

    THANK YOU!!!

    This is something that we are desparately in need of here.

    Is there any plan of integrating this same code into web services so that we can access SOAP services that are behind NTLM authentication?
  • 2 Gert Franz // Sep 26, 2012 at 12:43 AM

    Jesse, please open a JIRA feature request for this.

    Thanks, Gert

Leave a Comment

Leave this field empty: