Access to password protected OBR
--------------------------------
Key: FELIX-651
URL: https://issues.apache.org/jira/browse/FELIX-651
Project: Felix
Issue Type: Improvement
Components: Bundle Repository (OBR)
Reporter: Remco Poortinga - van Wijnen
Priority: Trivial
For a project I would like to configure a 'private' OBR (somewhat against the
federated idea of OBR I guess, but anyway). In other words: username/password
protected access. Https OBR are possible, but I have no idea if there is an
'official' way (from Felix' point of view) for specifying credentials for the
specified OBR URLs.
Just to see whether it would work I created a test version where
username/password can be specified in a RFC1738 compliant way, e.g.
https://user:[EMAIL PROTECTED]:port/rest and added an Authenticator to the
bundlerepository bundle, which gets the username/password from the URL if it is
set (see http://java.sun.com/javase/6/docs/api/java/net/URL.html#getUserInfo()).
This seems to work OK; would this be interesting for others as well?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.