open-eid / digidoc4j

DigiDoc for Java. Javadoc:
http://open-eid.github.io/digidoc4j
GNU Lesser General Public License v2.1
73 stars 39 forks source link

PROXY Settings #21

Closed stanislav-degtjarjov closed 7 years ago

stanislav-degtjarjov commented 8 years ago

In general, there is one issue regarding proxy configuration. If I want to use JVM proxy configuration, I need to add the same configuration to the library configuration digidoc4j.yaml.

Problem is in logic of initialization of the HttpClientBuilder, that ignores system properties.

CommonsDataLoader

private HttpClientBuilder configureProxy

In case of implementation and application administration it is confusing, because we need to keep same settings on environment layer and on library layer.

rvillido commented 8 years ago

Thank you for the feedback.

We have created a ticket on our backlog. It will take some time before we can implement this, because there are more urgent issues that have to be solved first. https://www.pivotaltracker.com/story/show/129040397

nostneji commented 7 years ago

In release 1.0.7 the support of proxy configuration via JVM parameters is added.