Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-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 BDD1910DEA for ; Mon, 21 Oct 2013 18:46:51 +0000 (UTC) Received: (qmail 89637 invoked by uid 500); 21 Oct 2013 18:46:03 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 89523 invoked by uid 500); 21 Oct 2013 18:45:55 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 89281 invoked by uid 99); 21 Oct 2013 18:45:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 18:45:46 +0000 Date: Mon, 21 Oct 2013 18:45:46 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CMIS-730) When using Commons HTTP, authentication does not work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-730?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Florian M=C3=BCller reassigned CMIS-730: ----------------------------------- Assignee: Florian M=C3=BCller > When using Commons HTTP, authentication does not work > ----------------------------------------------------- > > Key: CMIS-730 > URL: https://issues.apache.org/jira/browse/CMIS-730 > Project: Chemistry > Issue Type: Bug > Components: opencmis-client-bindings > Affects Versions: OpenCMIS 0.10.0 > Environment: Java 1.7, httpClient 4.3, =20 > Reporter: Zoran Brdar > Assignee: Florian M=C3=BCller > Labels: newbie > > Here's my StackOverflow communication with Florian M=C3=BCller:=20 > http://stackoverflow.com/questions/19268287/use-apacheclienthttpinvoker-i= nstead-of-defaulthttpinvoker > Here's the important part: > I have set ClientBinding to use ApacheClientHttpInvoker. > Now I get the "Unauthorized" exception when applying credentials. This wo= rked with the DefaultHTTPInvoker class. Am I missing something?? =E2=80=93 = Brlja Oct 9 at 13:04 =20 > =09=09 > The ApacheClientHttpInvoker is pretty new and not very well tested. That'= s why you couldn't find any information about it. It might have bugs! Havin= g that said, basic authentication has been tested and should work without a= ny additional configuration. =E2=80=93 Florian M=C3=BCller Oct 9 at 14:11 > =09 > Florian, I have debuged the code with basic authentication, it works simi= llar (authentication) as default http. Anyways, username and password gets = b64 encoded and put as http header which is then posted. This method works = with default http but not with Apache http. In other project of mine I use = Client.setAuth(Credentials) and that works. I can modify AbstractApache cla= ss but I do not prefer it because of forward compliance. If you are close t= o development team can you check this out? =E2=80=93 Brlja Oct 9 at 16:56 = =20 > =09=09 > Please open an issue here: issues.apache.org/jira/browse/CMIS =E2=80=93 = Florian M=C3=BCller Oct 9 at 18:58 -- This message was sent by Atlassian JIRA (v6.1#6144)