I don't think this is the same issue. FELIX-651 is about an
authentication against the repository server. My issue is about an
authentication against the http proxy between the OSGi platform and the
repository server.
When I use OBR through a proxy without authentication, it's ok. So it
seems that http.proxyHost, http.proxyPort are takken in account. What is
the HTTP client used in Felix OBR Implementation ? Perhaps this client
is not using http.proxyUser, http.proxyPassword ?
Stéphane
Richard S. Hall a écrit :
I believe the following issue discusses this area:
https://issues.apache.org/jira/browse/FELIX-651
We need someone to follow up on the issues raised by Felix Meschberger.
-> richard
On 1/27/10 12:29, Stéphane Jeanjean wrote:
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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]