Re: How to specify windows user in runtime in tomcat?

2007-12-14 Thread nitin403
jcifs (http://jcifs.samba.org/). > It should allow you to access a remote share using a different user > context, though I'd reccommend using a dedicated account for this kind of > job. > > Hope it helps, > b. > > > nitin403 wrote: >> >> >> &

Re: How to specify windows user in runtime in tomcat?

2007-12-10 Thread nitin403
Juha Laiho wrote: > > nitin403 wrote: >> I have create a servlet which needs to read a file on a share folder. >> When I run tomcat service as anonymous it is not able to access read this >> file. >> But when I run tomcat service as a user who as access to this

How to specify windows user in runtime in tomcat?

2007-12-09 Thread nitin403
Hi, all. I have create a servlet which needs to read a file on a share folder. When I run tomcat service as anonymous it is not able to access read this file. But when I run tomcat service as a user who as access to this file, then it runs fine. My Question is, is it possible to something similar