String proxyAuthDomain = getParameter(parameters, "proxyAuthDomain", String.class); String proxyAuthHost = getParameter(parameters, "proxyAuthHost", String.class); configurer = configureProxyAuth(configurer, proxyAuthMethod, proxyAuthUsername, proxyAuthPassword, proxyAuthDomain, proxyAuthHost, authMethods); } else if (httpConfiguration != null) { configurer = configureProxyAuth(configurer, httpConfiguration.getProxyAuthMethod(), httpConfiguration.getProxyAuthUsername(), httpConfiguration.getProxyAuthPassword(), httpConfiguration.getProxyAuthDomain(), httpConfiguration.getProxyAuthHost(), authMethods);