You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Jason Hoog (JIRA)" <ji...@apache.org> on 2015/01/28 22:25:34 UTC

[jira] [Commented] (CMIS-564) Custom HTTP request invocation

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

Jason Hoog commented on CMIS-564:
---------------------------------

Do you have sample code on how to custom invoke the Apache HttpClient using NTLM authentication.  

> Custom HTTP request invocation
> ------------------------------
>
>                 Key: CMIS-564
>                 URL: https://issues.apache.org/jira/browse/CMIS-564
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 0.7.0
>            Reporter: Thorben Betten
>            Assignee: Florian Müller
>            Priority: Minor
>             Fix For: OpenCMIS 0.9.0 beta 1
>
>         Attachments: chemistry-opencmis-client-bindings-0.7.0-src.jar
>
>
> Dear Chemistry project members,
>  
> I want to share attached code modification with you that enhances " org/apache/chemistry/opencmis/client/bindings/spi/http/HttpUtils" by an additional property to execute requests by calling " org/apache/chemistry/opencmis/client/bindings/spi/http/HttpInvoker".
>  
> Your own HttpInvoker-Implementation can be specified through session parameter " org.apache.chemistry.opencmis.binding.HttpInvoker". This interface allows 3rd party developers to fully control how HTTP request is performed. E.g. I needed to use Apache's HttpClient for fully supported NTLM authentication cycle.
>  
> Furthermore I added class " org/apache/chemistry/opencmis/client/bindings/spi/http/AbstractHttpInvoker" that delegates to common HttpUtils.invoke() if certain criteria is not met.
>  
> Feel free to add if you like and approve it...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)