If I have the following code:
WebdavResource wdr = null;
HttpURL hrl = null;
try {
hrl = new HttpURL("http://myhost.com/slide/files/" );
hrl.setUserinfo("username", "password");
wdr = new WebdavResource( hrl );
System.out.println("-->First action.");
wdr.list();
System.out.println("-->Second action.");
wdr.list();
} catch (Exception e) {
//do something
}
I see that in each call to wdr.list() the resource is forced to
authenticate. Is there a way to save the credentials between
method calls so that I only need to authenticate the first time
and not all subsequent times?
Cheers,
Brandon
________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]