ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
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


1 to 3 of 3
  1. WebDav & NTLM
    2007-02-12 09:30:59  PabloMosquera [View]

  2. WebDav & NTLM
    2007-02-12 09:27:25  PabloMosquera [View]

  3. WebDav & NTLM
    2005-09-19 03:34:29  dennis_surendar [View]

1 to 3 of 3