[jcifs] Authentication
Stian Brattland
stian at brattland.no
Mon Aug 17 08:26:41 MDT 2009
Hi,
Just a quick question on samba authentication. The way i usually create
SmbFile instances is by providing a full path, including username and
password, in the constructor.
Typically, it would look like this.
SmbFile f = new SmbFile("smb://user:password@192.168.16.50/files/file.txt");
However, from a performance point of view, does this mean that JCifs
will have to run through authentication every single time a client
connects to the server to retrieve a file?
If i put the above line inside a loop which iterates 1000 times, will
that require 1000 authentications?
Regards,
Stian Brattland
More information about the jCIFS
mailing list