[LIB-13] Several options for working through a proxy server
[chesshog-scanner.git] / src / main / java / org / hedgecode / chess / scanner / ChessHogScannerApp.java
index 060773c..44cee75 100644 (file)
@@ -35,7 +35,8 @@ public final class ChessHogScannerApp {
         if (useProxy) {
             ProxyParams proxyParams = new ProxyParams(
                     ScannerProperties.get("scanner.proxy.server"),
-                    ScannerProperties.get("scanner.proxy.auth")
+                    ScannerProperties.get("scanner.proxy.auth"),
+                    ScannerProperties.is("scanner.proxy.system")
             );
             Proxy.setProxy(proxyParams);
         }