Article:
 |
|
Sliding into WebDAV
|
| Subject: |
|
WebDav & NTLM |
| Date: |
|
2005-08-01 07:01:16 |
| From: |
|
bwandrack
|
Response to: WebDav & NTLM
|
|
Yensen,
Can't help with #2, but I am currently using NTLM and WebDav. Here is some sample code that should help:
NTCredentials creds = new NTCredentials(userName, password, hostAdd, "" );
HostConfiguration hostConfig = new HostConfiguration();
hostConfig.setHost(hostAdd); //Not url, just ip address or fully qualified DN
HttpURL host = new HttpURL("http://" + hostUrl);
WebdavResource res = new WebdavResource(host, (Credentials)creds, WebdavResource.DEFAULT, DepthSupport.DEPTH_1);
Hope this helps.
Bill Wandrack
|
Showing messages 1 through 4 of 4.
-
WebDav & NTLM
2007-02-12 09:30:59
PabloMosquera
[View]
-
WebDav & NTLM
2007-02-12 09:27:25
PabloMosquera
[View]
-
WebDav & NTLM
2005-09-19 03:34:29
dennis_surendar
[View]
-
WebDav & NTLM
2005-09-20 04:27:52
dennis_surendar
[View]
org.apache.commons.httpclient.HttpException
at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3467)
at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3423)