private static Proxy decryptProxy(Proxy proxy, SettingsDecrypter decrypter) { final DefaultSettingsDecryptionRequest decryptionRequest = new DefaultSettingsDecryptionRequest(proxy); SettingsDecryptionResult decryptedResult = decrypter.decrypt(decryptionRequest); return decryptedResult.getProxy(); }
proxy = result.getProxy();
proxy = result.getProxy();
private static Proxy decryptProxy(Proxy proxy, SettingsDecrypter decrypter) { final DefaultSettingsDecryptionRequest decryptionRequest = new DefaultSettingsDecryptionRequest(proxy); SettingsDecryptionResult decryptedResult = decrypter.decrypt(decryptionRequest); return decryptedResult.getProxy(); } }
private static Proxy decryptProxy(Proxy proxy, SettingsDecrypter decrypter) { final DefaultSettingsDecryptionRequest decryptionRequest = new DefaultSettingsDecryptionRequest(proxy); SettingsDecryptionResult decryptedResult = decrypter.decrypt(decryptionRequest); return decryptedResult.getProxy(); } }
private static Proxy decryptProxy(Proxy proxy, SettingsDecrypter decrypter) { final DefaultSettingsDecryptionRequest decryptionRequest = new DefaultSettingsDecryptionRequest(proxy); SettingsDecryptionResult decryptedResult = decrypter.decrypt(decryptionRequest); return decryptedResult.getProxy(); }
SettingsDecryptionResult result = settingsDecrypter.decrypt( new DefaultSettingsDecryptionRequest( proxy ) ); proxy = result.getProxy();
SettingsDecryptionResult result = settingsDecrypter.decrypt( new DefaultSettingsDecryptionRequest( proxy ) ); proxy = result.getProxy();
proxy = result.getProxy();
private void setProxy(ProxyServiceFacade proxyService, Proxy proxy) { String protocol = proxy.getProtocol(); if (isSupportedProtocol(protocol)) { SettingsDecryptionResult result = decrypter.decryptAndLogProblems(proxy); proxy = result.getProxy(); logger.debug("Configuring proxy for protocol " + protocol + ": host=" + proxy.getHost() + ", port=" + proxy.getPort() + ", nonProxyHosts=" + proxy.getNonProxyHosts()); proxyService.configureProxy(protocol, proxy.getHost(), proxy.getPort(), proxy.getUsername(), proxy.getPassword(), proxy.getNonProxyHosts()); } else { logger.debug("Ignoring proxy configuration for unsupported protocol: '" + protocol + "'"); } }
proxy = result.getProxy();