Http Request NTML Auth
Hi I'm using ensemble/cache 2016 is a NTML auth possible. Any code examples?
Currently I've got
set hr3 = ##class(%Net.HttpRequest).%New()
set hr3.Username = "xxxxxx/xxxxxxxxx"
set hr3.Password = "xxxxxxx"
do hr3.Get("http://xxxxxxxxx/CaseNoteTracking/api/CaseNoteTrackingAPI/Get")
From the looks of things I need a http 1.1 request?
Hi, unfortunately, there are no ready solutions and mostly because NTLM auth is not so easy to implement, even in other languages. If it is possible, better to find another mechanism.
Yeah, I'm on the hunt for another option.
Seems like there is something in here though that says its possible.
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...
Failing NTLM, is there a Negotiate option?
Yeah, that's the answer I got from WRC. You can't do it in 2016
The link above is to the latest documentation, which means it has the new features in 2018.1. You might want to look at the 2016.1 or 2016.2 documentation to make sure you're getting the right info for your version.
The %Net.HttpRequest property AuthenticationSchemes, which has Negotiate as an option is also new in 2018.1.
NTLM Authentication is supported in Caché / Ensemble 2018.1 and later:
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...