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);
        }
Esempio n. 2
0
        public UrlBuilder(ServerInformation hCatInformation, Credential credential, bool useKerberos)
        {
            credential.CheckWhetherArgumentIsNull("credential");
            hCatInformation.CheckWhetherArgumentIsNull("hCatInformation");

            this.hCatInformation = hCatInformation;
            this.userName = credential.UserName;
            this.useKerberos = useKerberos;
        }