Connecting a windows network share from Java with a specificied usernameand password



Hello,

I have a problem related to networking. I have a problem accessing
network shared drives from within my java classes.

I used the File object when I was developing. Everything worked fine.
However, I have to deploy to an application server, I need to supply a
user name and password to connect.

I am looking for an easy way to connect to a windows network share
with a user name and password from Java. I started to looking at JNI,
but I was hoping there might be an easier to use wrapper already
written.

I have a shared folder address as \\machine name\folder1, username and
password.

I assume this has something to do with Windows network security?

Can anybody help me?
Any help would be greatly appreciated.

Thanks in advance,
Amit

.



Relevant Pages

  • Connecting a windows network share from Java with a specificied usernameand password
    ... network shared drives from within my java classes. ... I am looking for an easy way to connect to a windows network share ... I assume this has something to do with Windows network security? ...
    (comp.lang.java.programmer)
  • Re: Connecting a windows network share from Java with a specificied usernameand password
    ... network shared drives from within my java classes. ... I am looking for an easy way to connect to a windows network share ... There is nice JCIFS package that has SMB protocol implementation and allows you to work with SMB shares. ... I assume this has something to do with Windows network security? ...
    (comp.lang.java.programmer)
  • Re: Accessing a Windows Network
    ... > I have been trying to get my Windows network working under Suse. ... yast was used to install and configure Network Services, Samba Client, ...
    (alt.os.linux.suse)
  • Re: Wirless Network Unuseable
    ... The Network now connects however even in another room runs at a measly 11.0 ... >>I need some help solving a wireless network problem. ... >>account cannot Ping own Card IP ... >>Windows Network is visible but clicking on Microsoft Windows Network gives ...
    (microsoft.public.windowsxp.general)
  • Re: Printing problem
    ... > Blair wrote: ... > Windows Network and not Microsoft Family Logon. ... At present I was restarting to make the changes but the 98PC is stuck ...
    (microsoft.public.windowsxp.general)