private static Credentials newNTCredentials ( HttpClientSettings settings ) { return new NTCredentials ( settings . getProxyUsername ( ) , settings . getProxyPassword ( ) , settings . getProxyWorkstation ( ) , settings . getProxyDomain ( ) ) ; }
Returns a new instance of NTCredentials used for proxy authentication .