How to use NTLM authentication in a Call REST service

1
In the REST module you can use for NTLM authentication the java action 'registerNTCredentials' to enter the username, password and domain. In Mendix version 6.8.1 you have now the activity "calll REST Service. Here only http authentication is available. Is it also possible to use NTLM authentication with this new activity? If so how should I do this? Thanks!
asked
5 answers
1

NTLM authentication is not yet supported for Call REST service.

answered
1

Is there any update on this? When will it be possible to use NTLM authenitaction for Call REST Service?

Or can I do a NTLM authentication before running the REST call?

 

Thanks!

answered
1

We do not have NTLM support in Rest yet, but as of Mendix 7 you do have access to all the http response headers. This should enable you to use NTLM if you create the required authentication header values.

More info can be found here: https://blogs.msdn.microsoft.com/chiranth/2013/09/20/ntlm-want-to-know-how-it-works/ & http://davenport.sourceforge.net/ntlm.html

answered
0

Is there any update on this?

hen will it be possible to use NTLM ‚Äčauthentication for Call REST Service?

answered
0

I have been trying to simulate the NTLM Handshake with 3 Call REST Service for sometimes now.

Unfortunately, I haven't been successful up until now. Somehow the 3rd Call REST was not read by the server as the continuation from 2nd.

I must have been missing an important Request Headers or other property to do this.

I can ensure that the Type 1 Message and Type 3 Message required for NTLM Authentication is already correct, because I developed another alternative solution using Java Action which will directly Authenticate using the same library.

I am really curious now whether I can extend the Call REST Service Activity.

 

answered