users  

OBR HTTP Access through Proxy with authentication

Stéphane Jeanjean
Wed, 27 Jan 2010 09:30:01 -0800

Hi,

My platform tries to access to an OBR repository through a proxy with authentication. So I set the following variables : http.proxyHost, http.proxyPort, http.proxySet, http.proxyUser, http.proxyPassword

It seems that the platform cannot reach my repository. When the network is sniffed, I see that the destination of the request is what is set in http.proxyHost and the port used is what is set in http.proxyPort. But it seems that http.proxyUser and http.proxyPassword are not used because there is no "proxy-authorization" header in the request :(

So I try to put this kind of code in my application :
           Authenticator.setDefault(
                      new Authenticator() {
public PasswordAuthentication getPasswordAuthentication() {
                            return new PasswordAuthentication(
getProxyUser(), getProxyPassword().toCharArray());
                         }
                      }
                   );

But the behavior is the same :(

Do you know if the Felix OBR implementation is compatible with this type of proxy (with authentication) ?

Thanks,

Stéphane





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org