Return-Path: X-Original-To: apmail-ace-commits-archive@www.apache.org Delivered-To: apmail-ace-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1910118B71 for ; Wed, 10 Feb 2016 14:11:19 +0000 (UTC) Received: (qmail 41261 invoked by uid 500); 10 Feb 2016 14:11:19 -0000 Delivered-To: apmail-ace-commits-archive@ace.apache.org Received: (qmail 41233 invoked by uid 500); 10 Feb 2016 14:11:19 -0000 Mailing-List: contact commits-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ace.apache.org Delivered-To: mailing list commits@ace.apache.org Received: (qmail 41183 invoked by uid 99); 10 Feb 2016 14:11:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2016 14:11:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CC6662C1F62 for ; Wed, 10 Feb 2016 14:11:18 +0000 (UTC) Date: Wed, 10 Feb 2016 14:11:18 +0000 (UTC) From: "J.W. Janssen (JIRA)" To: commits@ace.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ACE-499) AceObrRepository doesn't work for repositories that require authentication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] J.W. Janssen resolved ACE-499. ------------------------------ Resolution: Fixed Fix Version/s: next Applied PR in rev #1729606. Thanks! > AceObrRepository doesn't work for repositories that require authentication > -------------------------------------------------------------------------- > > Key: ACE-499 > URL: https://issues.apache.org/jira/browse/ACE-499 > Project: ACE > Issue Type: Bug > Affects Versions: 2.0.1 > Reporter: Bram Pouwelse > Labels: ace-next-security > Fix For: next > > > The AceObrRepository (at least in the way it's used in the gogo support functions) doesn't support using a repository that requires authentication. > I've tried adding a Registry to the plugin to provide a "aQute.bnd.deployer.http.HttpBasicAuthURLConnector", this resolves the issue for read actions but the upload method still doesn't work. The UrlConnector interface currently only supports read actions so making this work would require a change in bnd. > Discussed this issue with [~marrs], he proposed to obtain a BundleContext using FrameworkUtil to retrieve the Ace ConnectionFactory service. A possible drawback of this solution would be that this doesn't work in case the AceObrRepository is used from bnd(tools) -- This message was sent by Atlassian JIRA (v6.3.4#6332)