ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACE-499) AceObrRepository doesn't work for repositories that require authentication
Date Tue, 09 Feb 2016 20:05:18 GMT

    [ https://issues.apache.org/jira/browse/ACE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139665#comment-15139665
] 

ASF GitHub Bot commented on ACE-499:
------------------------------------

GitHub user brampouwelse opened a pull request:

    https://github.com/apache/ace/pull/3

    ACE-499: Added AceUrlConnector a aQute.bnd.service.url.URLConnector i…

    …mplementation based on the ace ConnectionFactory

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/brampouwelse/ace ACE-499

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ace/pull/3.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3
    
----
commit 57473ac36826965b96e03ca8025832f1bb81a6ca
Author: Bram Pouwelse <bram@pouwelse.com>
Date:   2016-02-09T19:50:53Z

    ACE-499: Added AceUrlConnector a aQute.bnd.service.url.URLConnector implementation based
on the ace ConnectionFactory

----


> 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
>
> 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)

Mime
View raw message