[
https://issues.apache.org/jira/browse/JCR-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519329#comment-16519329
]
Julian Reschke commented on JCR-3211:
-------------------------------------
We can now allow the http client library to use the default Java proxy
settings, as per
https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html
and
https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html#useSystemProperties()
The system property is
{noformat}
jackrabbit.client.useSystemProperties
{noformat}
and needs to be set to {{true}}.
This should cover simple use cases.
[~kwin] - for more complex use cases please open a separate ticket.
> Support HTTP proxy in SPI2DAV
> -----------------------------
>
> Key: JCR-3211
> URL: https://issues.apache.org/jira/browse/JCR-3211
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-spi2dav
> Affects Versions: 2.2.10
> Reporter: Warren Janssens
> Assignee: Julian Reschke
> Priority: Minor
> Labels: candidate_jcr_2_16
> Fix For: 2.18, 2.17.4
>
> Attachments: JCR-3211.diff
>
>
> There needs to be a way to configure a proxy and proxy credentials on the
> HttpClient HostConfiguration and State objects in RepositoryServiceImpl to
> enable requests over HTTP proxies.
> Ideally the configuration could be done without resorting to static or thread
> local values.
> The workaround is to use a proxy servlet that has the real endpoint of the
> repository hardcoded so it's not that critical of a bug but this workaround
> may not always be an available option.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)