CFHTTP with NTLM

September 4, 2012 · By Gert Franz · 3 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

3 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
  • 3 M.Scherzer // Jan 21, 2014 at 4:25 AM

    Is there anymore information on how to get the NTLM authentication working? I upgraded railo the latest version.

    When I try to authenticate with NTLM the railo logs show me that "krb5.ini" can not be found. A google search just leads me to some very low level instructions. Is there a how-to you can point me too?

Leave a Comment

Leave this field empty: