Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gérer le proxy dans le classes de l'api #25

Closed
adriens opened this issue May 31, 2017 · 2 comments
Closed

Gérer le proxy dans le classes de l'api #25

adriens opened this issue May 31, 2017 · 2 comments

Comments

@adriens
Copy link
Owner

adriens commented May 31, 2017

Actuellement, pour que ça marche derrière le proxy, il faut dans le main (ou dans la jvm) positionner les variables

            System.setProperty("http.proxyHost", "proxyweb");
            System.setProperty("http.proxyPort", "3128");
            
            System.setProperty("http.proxyUser", "salad74");
            System.setProperty("http.proxyPassword", "xxxxxxxx");
@adriens
Copy link
Owner Author

adriens commented May 31, 2017

On peut passer le proxy uniquement via les propriete java runtime, pas de modif de code du coup ;-p

ça donne ça en gros (testé et OK) :

-Dhttp.proxyHost=proxyweb
-Dhttp.proxyPort=3128
-Dhttp.proxyUser=LOGIN
-Dhttp.proxyPassword=PASSWORD

@adriens
Copy link
Owner Author

adriens commented Jun 4, 2017

en cours....

@adriens adriens closed this as completed Aug 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant