[jira] [Commented] (CMIS-615) Change HttpUtils to use httpclient-4.x
[
https://issues.apache.org/jira/browse/CMIS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730841#comment-13730841
]
Florian Müller commented on CMIS-615:
-
There is now two experimental implementations; one for Java SE (Apache HTTP
Client 4.2.5) and one for Android (Apache HTTP Client 4.0.1).
HttpInvoker class:
{{org.apache.chemistry.opencmis.client.bindings.spi.http.ApacheClientHttpInvoker}}
The Java SE version seems to have issues with the connection pool. Use with
care!
> Change HttpUtils to use httpclient-4.x
> --
>
> Key: CMIS-615
> URL: https://issues.apache.org/jira/browse/CMIS-615
> Project: Chemistry
> Issue Type: Improvement
> Components: opencmis-client-bindings
>Reporter: Andre-John Mas
> Attachments: httputils.diff, HttpUtils.java
>
>
> It would be useful to convert HttpUtils to use httpclient 4.2.x. One of the
> benefits for this, is that environments that use Kerberos, for example,
> SPNEGO can be used for authentication.
--
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
[jira] [Commented] (CMIS-615) Change HttpUtils to use httpclient-4.x
[ https://issues.apache.org/jira/browse/CMIS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538133#comment-13538133 ] Andre-John Mas commented on CMIS-615: - I didn't know about the existence of HttpInvoker. I'll make note of it. I am fine with having this issue closed. > Change HttpUtils to use httpclient-4.x > -- > > Key: CMIS-615 > URL: https://issues.apache.org/jira/browse/CMIS-615 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-client-bindings >Reporter: Andre-John Mas > Attachments: httputils.diff, HttpUtils.java > > > It would be useful to convert HttpUtils to use httpclient 4.2.x. One of the > benefits for this, is that environments that use Kerberos, for example, > SPNEGO can be used for authentication. -- 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
[jira] [Commented] (CMIS-615) Change HttpUtils to use httpclient-4.x
[ https://issues.apache.org/jira/browse/CMIS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538128#comment-13538128 ] Florian Müller commented on CMIS-615: - Have you noticed that the HttpUtils class meanwhile has been replaced by the HttpInvoker interface (see CMIS-564)? You can now plug in your own implementation and do whatever you need without changing the OpenCMIS code. Can we close this issue? > Change HttpUtils to use httpclient-4.x > -- > > Key: CMIS-615 > URL: https://issues.apache.org/jira/browse/CMIS-615 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-client-bindings >Reporter: Andre-John Mas > Attachments: httputils.diff, HttpUtils.java > > > It would be useful to convert HttpUtils to use httpclient 4.2.x. One of the > benefits for this, is that environments that use Kerberos, for example, > SPNEGO can be used for authentication. -- 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
[jira] [Commented] (CMIS-615) Change HttpUtils to use httpclient-4.x
[ https://issues.apache.org/jira/browse/CMIS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538122#comment-13538122 ] Andre-John Mas commented on CMIS-615: - Fair enough. I should really have spoken to you guys first. At the same time, some documentation on how to use Apache Chemistry in a Kerberos based environment would be handy. > Change HttpUtils to use httpclient-4.x > -- > > Key: CMIS-615 > URL: https://issues.apache.org/jira/browse/CMIS-615 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-client-bindings >Reporter: Andre-John Mas > Attachments: httputils.diff, HttpUtils.java > > > It would be useful to convert HttpUtils to use httpclient 4.2.x. One of the > benefits for this, is that environments that use Kerberos, for example, > SPNEGO can be used for authentication. -- 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
[jira] [Commented] (CMIS-615) Change HttpUtils to use httpclient-4.x
[ https://issues.apache.org/jira/browse/CMIS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534088#comment-13534088 ] Peter Monks commented on CMIS-615: -- [~bflorian] Apologies - I misunderstood the original issue report. And yes, no dependency is better than any dependency. ;-) > Change HttpUtils to use httpclient-4.x > -- > > Key: CMIS-615 > URL: https://issues.apache.org/jira/browse/CMIS-615 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-client-bindings >Reporter: Andre-John Mas > Attachments: httputils.diff, HttpUtils.java > > > It would be useful to convert HttpUtils to use httpclient 4.2.x. One of the > benefits for this, is that environments that use Kerberos, for example, > SPNEGO can be used for authentication. -- 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
[jira] [Commented] (CMIS-615) Change HttpUtils to use httpclient-4.x
[ https://issues.apache.org/jira/browse/CMIS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534052#comment-13534052 ] Florian Müller commented on CMIS-615: - @[~pmonks]: OpenCMIS is currently using the Java built-in HttpURLConnection. There is no external 3rd party dependency to stay up to date with. Using HttpClient would introduce a new dependency, which - in the long run - could be more painful for developers than not doing it. @[~ajmas]: There is also SPNEGO support for HttpURLConnection. What's wrong with that? I'm reluctant to make any changes here because they wouldn't cover the Web Services binding implementation, which means we would have to support two different HTTP clients. > Change HttpUtils to use httpclient-4.x > -- > > Key: CMIS-615 > URL: https://issues.apache.org/jira/browse/CMIS-615 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-client-bindings >Reporter: Andre-John Mas > Attachments: httputils.diff, HttpUtils.java > > > It would be useful to convert HttpUtils to use httpclient 4.2.x. One of the > benefits for this, is that environments that use Kerberos, for example, > SPNEGO can be used for authentication. -- 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
[jira] [Commented] (CMIS-615) Change HttpUtils to use httpclient-4.x
[ https://issues.apache.org/jira/browse/CMIS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534017#comment-13534017 ] Peter Monks commented on CMIS-615: -- More generally it's best practice to stay up to date with 3rd party dependencies in libraries such as OpenCMIS, since not doing so forces those old versions on downstream application developers (or at least those not using things like OSGi). It's also worth mentioning that HttpClient 4.x has been out for more than 4 years - it's by no means a new version of the library. > Change HttpUtils to use httpclient-4.x > -- > > Key: CMIS-615 > URL: https://issues.apache.org/jira/browse/CMIS-615 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-client-bindings >Reporter: Andre-John Mas > Attachments: httputils.diff, HttpUtils.java > > > It would be useful to convert HttpUtils to use httpclient 4.2.x. One of the > benefits for this, is that environments that use Kerberos, for example, > SPNEGO can be used for authentication. -- 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
[jira] [Commented] (CMIS-615) Change HttpUtils to use httpclient-4.x
[ https://issues.apache.org/jira/browse/CMIS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13533897#comment-13533897 ] Andre-John Mas commented on CMIS-615: - The specific point is SPNEGO support, since the company I work for uses Kerberos for its systems. httpclient 4 in general has better support for alternative authentication mechanisms. I really don't want to have to fork the library for this. > Change HttpUtils to use httpclient-4.x > -- > > Key: CMIS-615 > URL: https://issues.apache.org/jira/browse/CMIS-615 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-client-bindings >Reporter: Andre-John Mas > Attachments: httputils.diff, HttpUtils.java > > > It would be useful to convert HttpUtils to use httpclient 4.2.x. One of the > benefits for this, is that environments that use Kerberos, for example, > SPNEGO can be used for authentication. -- 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
[jira] [Commented] (CMIS-615) Change HttpUtils to use httpclient-4.x
[ https://issues.apache.org/jira/browse/CMIS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13533727#comment-13533727 ] Florian Müller commented on CMIS-615: - Do you have a concrete pain point? Adding a new dependency just because we can is not a good idea. > Change HttpUtils to use httpclient-4.x > -- > > Key: CMIS-615 > URL: https://issues.apache.org/jira/browse/CMIS-615 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-client-bindings >Reporter: Andre-John Mas > Attachments: httputils.diff, HttpUtils.java > > > It would be useful to convert HttpUtils to use httpclient 4.2.x. One of the > benefits for this, is that environments that use Kerberos, for example, > SPNEGO can be used for authentication. -- 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
