Dear list,

does anyone know if the WebDAV client portion of Slide is aware that there are HTTP 
proxies that require authentication?

The underlying commons-http-client supports proxy authentication, but I cannot find 
anything about this in the Slide WebDAV client code. I try to start off with Slide 
using 

new WebdavResource(url,"my-proxy.com",1234);

and looking at the wire log it fails because if does not know any credentials to 
provide to the proxy to authenticate against it. (I am _not_ talking about 
authenticating against the WebDAV server. I don't even get to that point because I 
cannot authenticate to the proxy server.

The tutorial of commons-http-client talks about how to do proxy authentication (see 
http://jakarta.apache.org/commons/httpclient/authentication.html) but it does not say 
on what objects to call the setProxyCredentials methods. Looking at the source I found 
it implemented in HttpState, but as an instance method. But I don't have a chance to 
get to the HttpSate instance when calling new WebdavResource(url,"my-proxy.com",1234) 
because that call already fails.

(There is a getClient method that would allow to drill down to the HttpState probably 
but I cannot call this before the new WebdavResource call fails.)

Did I overlook anything?

-----------------------------------------
Torsten Schlabach
+49 228 936 4735
[EMAIL PROTECTED]
T-Mobile Deutschland GmbH
-----------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to