[ 
https://issues.apache.org/jira/browse/CXF-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466554#comment-13466554
 ] 

Oleg Kalnichevski commented on CXF-4525:
----------------------------------------

Shaun,

This is a well known issue with NTLM authentication. NTLM is simply not well 
suited for entity enclosing requests. However, there is a fairly easy 
workaround for this problem. Given that NTLM is a connection based 
authentication scheme it is recommended to issue a cheap GET or HEAD request in 
order to force the authentication process prior to issuing a series of 
expensive POST or PUT requests. I do not know if this workaround is feasible in 
the context of CXF, though.

Oleg
                
> expose http client
> ------------------
>
>                 Key: CXF-4525
>                 URL: https://issues.apache.org/jira/browse/CXF-4525
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.7.0
>            Reporter: Shaun Elliott
>            Assignee: Daniel Kulp
>             Fix For: 2.7.0
>
>
> The class: CXFAsyncRequester hides the DefaultHttpAsyncClient, thus 
> preventing interaction from outside classes. One use case would be to 
> leverage the embedded DefaultHttpAsyncClient to do NTLM authentication, which 
> is currently not possible with CXF.
> AsyncHTTPConduit will also need a getter on the factory field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to