You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/04/12 22:29:48 UTC

[jira] Created: (FELIX-2276) Authentication credentials for proxies are not set when retrieving resources

Authentication credentials for proxies are not set when retrieving resources
----------------------------------------------------------------------------

                 Key: FELIX-2276
                 URL: https://issues.apache.org/jira/browse/FELIX-2276
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR)
    Affects Versions: bundlerepository-1.4.3
            Reporter: Richard S. Hall
            Assignee: Richard S. Hall
             Fix For: bundlerepository-1.6.2


OBR sets authentication credentials when retrieving the repository.xml file, but not when retrieving resources. Thus, while it is possible to see what's available from behind a proxy, it's not possible to actually deploy anything.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (FELIX-2276) Authentication credentials for proxies are not set when retrieving resources

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reassigned FELIX-2276:
--------------------------------------

    Assignee: Guillaume Nodet  (was: Richard S. Hall)

> Authentication credentials for proxies are not set when retrieving resources
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-2276
>                 URL: https://issues.apache.org/jira/browse/FELIX-2276
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.4.3
>            Reporter: Richard S. Hall
>            Assignee: Guillaume Nodet
>             Fix For: bundlerepository-1.6.2
>
>
> OBR sets authentication credentials when retrieving the repository.xml file, but not when retrieving resources. Thus, while it is possible to see what's available from behind a proxy, it's not possible to actually deploy anything.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (FELIX-2276) Authentication credentials for proxies are not set when retrieving resources

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-2276.
------------------------------------

    Resolution: Fixed

I've fixed the issue. 
However, I wonder why we don't expect the user to use the java.net.Authenticator class which seems to fulfil this exact purpose.
Note that the java.net.Authenticator is a system wide singleton, so I don't really think OBR should configure it, but the felix / karaf launcher could set up one and we could remove that code from bundlerepository.

Thoughts anyone ?

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/DataModelHelperImpl.java
	M	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/FileUtil.java
	M	bundlerepository/src/main/java/org/apache/felix/bundlerepository/impl/ResolverImpl.java
Committed r933677


> Authentication credentials for proxies are not set when retrieving resources
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-2276
>                 URL: https://issues.apache.org/jira/browse/FELIX-2276
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.4.3
>            Reporter: Richard S. Hall
>            Assignee: Guillaume Nodet
>             Fix For: bundlerepository-1.6.2
>
>
> OBR sets authentication credentials when retrieving the repository.xml file, but not when retrieving resources. Thus, while it is possible to see what's available from behind a proxy, it's not possible to actually deploy anything.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira