If you make a class that extends WebdavResource you'll have access to the protected constructor that takes an HttpClient. I'm not sure why that isn't public, so maybe that's a change that could be made.

-James

Matthew Beermann wrote:

I'm trying to figure out how to use NTLM authentication with the Slide client. It 
seemed straightforward enough at first: use retrieveSessionInstance() to get at the 
underlying HttpClient, then tell it to use NTLM credentials.

But I've run into a chicken-and-egg problem: you must supply WebdavResource with some 
sort of URI in order to construct it, and for me that URI will fail (throw a 401 
exception) until the correct credentials have been supplied. But, there's no way to 
get to the underlying HttpClient and set the credentials until after the object has 
been successfully constructed! How do I get around this?

--Matthew Beermann

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



Reply via email to