public WebHCatalogClient(ServerInformation hCatalogInformation, Credential credentials, bool useKerberos = false) { hCatalogInformation.CheckWhetherArgumentIsNull("hCatalogInformation"); credentials.CheckWhetherArgumentIsNull("networkCredential"); this.urlBuilder = new UrlBuilder(hCatalogInformation, credentials, useKerberos); this.webClientBuilder = new WebClientBuilder(credentials, useKerberos); }
public UrlBuilder(ServerInformation hCatInformation, Credential credential, bool useKerberos) { credential.CheckWhetherArgumentIsNull("credential"); hCatInformation.CheckWhetherArgumentIsNull("hCatInformation"); this.hCatInformation = hCatInformation; this.userName = credential.UserName; this.useKerberos = useKerberos; }
public WebClientBuilder(Credential credentials, bool useKerberos) { credentials.CheckWhetherArgumentIsNull("credentials"); this.credentials = credentials.Credentials; this.useKerberos = useKerberos; }