Hello all,

we are using the Olingo 5 library to implement our OData V4 Java client. The server requires NTLM for authentication. Requesting entities from the server using NTLMAuthHttpClientFactory works fine. But when we  first tried to create an entity, we received an HTTP 401 error in the response. We were eventually able to work around the issue by setting the useChunked flag in the client configuration to false, which makes the request repeatable. A similar issue with Basic Auth was reported and fixed here:

https://issues.apache.org/jira/browse/OLINGO-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17188255#comment-17188255

Even though we now have a workaround for our use case, I still consider the issue with NTLM an unresolved bug. This should work by default without the described workaround. I would offer to make a patch for it, if anybody is interested.

Regards
 Edmund



--


*Liland IT GmbH*


Ferlach ● Wien ● München
Tel: +43 463 220111
Tel: +49 89 458 15 940
[email protected]
https://Liland.com <https://Liland.com
<https://x.com/Lilandcom>  <https://www.instagram.com/lilandcom/<https://www.facebook.com/LilandIT/>

Copyright © Liland IT GmbH 

Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese Email irrtuemlich 
erhalten haben, informieren Sie bitte sofort den Absender und vernichten 
Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe 
dieser Mail ist nicht gestattet. 

This email may contain confidential and/or privileged information. If you are not the intended recipient (or have received this email in error) please notify the sender immediately and destroy this email. Any unauthorised copying, disclosure or distribution of the material in this email is strictly forbidden.

Reply via email to