Tag Info

New answers tagged

0

Thanks. Tried it already but didnt work. What worked for me is - http://www.muneebahmad.com/index.php/archives/127 Tina


0

Try this, it works for me httpClient = HttpClients.createDefault(); CredentialsProvider credsProvider = new BasicCredentialsProvider(); credsProvider.setCredentials(AuthScope.ANY, new NTCredentials(username, password, "", "")); HttpHost target = new HttpHost(host, 80, "http"); HttpClientContext context = HttpClientContext.create(); ...



Top 50 recent answers are included