[
https://issues.apache.org/jira/browse/OLINGO-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15026509#comment-15026509
]
Nik commented on OLINGO-272:
----------------------------
I am having trouble - getting the same issue when using the
{{NTLMAuthHttpClientFactory}}.
Would you consider adding this to the check?
Currently I have to make a sub-class of {{BasicAuthHttpClientFactory}} and
inside use the NTLM one, so that Olingo repeats the request after the
authentication challenge.
> https authentication request results in NonRepeatableRequestException
> ---------------------------------------------------------------------
>
> Key: OLINGO-272
> URL: https://issues.apache.org/jira/browse/OLINGO-272
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Affects Versions: (Java) V4 4.0.0-beta-01
> Reporter: Challen
> Assignee: Challen
> Fix For: (Java) V4 4.0.0-beta-01
>
>
> step1,
> client.getConfiguration().setHttpClientFactory( new
> BasicAuthHttpClientFactory("xxxusername ", "xxxxpassword"));
> step2,
> final ODataEntityCreateRequest<ODataEntity> createDraftReq =
> client.getCUDRequestFactory().getEntityCreateRequest(createDraftUriBuilder.build(),
> draft);
> final ODataEntityCreateResponse<ODataEntity> createDraftRes =
> createDraftReq.setFormat(format);
> createDraftReq.execute();
> Actual: NonRepeatableRequestException (guess it is because of login retry).
> Expected: no exception.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)