Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF9F2179BB for ; Sun, 9 Aug 2015 17:41:54 +0000 (UTC) Received: (qmail 15680 invoked by uid 500); 9 Aug 2015 17:41:54 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 15636 invoked by uid 500); 9 Aug 2015 17:41:54 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 15625 invoked by uid 99); 9 Aug 2015 17:41:54 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Aug 2015 17:41:54 +0000 Received: from [192.168.1.9] (p5DDB77A1.dip0.t-ipconnect.de [93.219.119.161]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 3335D1A0195 for ; Sun, 9 Aug 2015 17:41:51 +0000 (UTC) Message-ID: <55C790DA.1060507@apache.org> Date: Sun, 09 Aug 2015 19:41:46 +0200 From: Michael Osipov User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: HttpComponents Project Subject: Some comments on recent auth API changes Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Oleg, just have noticed that you started to rewrite the auth API, here are a few issues which need some improvement: 1. httpclient/src/main/java/org/apache/http/auth/AuthScheme.java: #getPrinciple That is supposed to be #getPricipal and not #getPrinciple. 2. Rename AuthState in AuthExchange: while this is a good thing, all instance variables spread through the code have not been renamed and are therefore inconsistent/confusing. Same applies for the getters and final statics in HttpClientContext. 3. Revision: 1692371 AuthScheme API changes; User credentials made optional for those schemes that do not require them. while this is a vital, I do not fully understand how this now works. Can you sum up your change in a few words or sentences? Michael --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org