mendix / RestServices

REST service module for Mendix. Supports consuming and publishing REST based services and real-time data synchronization. Supports JSON, form-encoded, multipart and binary data transport.
Apache License 2.0
31 stars 46 forks source link

Added NTLM Security provider compatible with HTTP 3.x Apache library. #48

Closed ernororive closed 8 years ago

ernororive commented 9 years ago

This change adds the capability to authenticate with NTLM based REST services.

mweststrate commented 9 years ago

Hi Erno,

thanks for sharing this. Where are the jcifs.* classes expected to be loaded from? Did you add additional libraries to your userlib?

Michel

ernororive commented 9 years ago

Where they not committed? Should I send them?

There is possible one challenge, which is the access to a property file.

mweststrate commented 9 years ago

I guess, they are not on the files list: https://github.com/mendix/RestServices/pull/48/files

Can you elaborate on the property file issue?

jpulleman commented 9 years ago

Hi Michel, you are right. The following library should be added to the userlib directory: https://jcifs.samba.org/

I have successfully implemented it (in the cloud) for two customers recently with Erno's code (so great job Erno) and the above library version 1.3.17. Have not done anything with access to a property file, only thing I can think of is that 1.3.18 needs extra access and that's why I've used .17 but I don't remember if that's the case sorry. If you can't find the 1.3.17 version for download, let me know I can supply it to you. Don't seem to be able to add it to the pull request myself.

acdickinson commented 8 years ago

Is there any update if or when the added authentication with NTLM based REST services is merged back to the main release? At the moment we would need to update this in a new release ourselves. It would be great if this feature is supported in the normal release.

mweststrate commented 8 years ago

Apologies, totally overlooked @jpulleman's earlier messages. I merged the above pull request and it will be part of release 2.1

acdickinson commented 8 years ago

Hi @mweststrate, great! Thx.

acdickinson commented 8 years ago

@mweststrate any idea when the 2.1 version will be released?

mweststrate commented 8 years ago

Released!

acdickinson commented 8 years ago

Awesome. Thx!