[jcifs] Setting up JCIFS & Tomcat - Basic setup for a newbie
jack
jmdevel at yahoo.com
Wed Jan 18 13:29:45 GMT 2006
Hi,
I am new to JSIFC and believe it is what I am looking for.
What are the basic steps in setting this up to work with Tomcat please?
Of particular interest to me is what do I do on the Tomcat side?
What I have so far is:
1. download and install the jcifs-1.2.7 library in server/lib
2. Update the WEB-INF/web.xml....the sample I have from the manual
at http://jcifs.samba.org/src/docs/ntlmhttpauth.html is:
<filter>
<filter-name>NtlmHttpFilter</filter-name>
<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
<init-param>
<param-name>jcifs.smb.client.domain</param-name>
<param-value>NYC-USERS</param-value>
</init-param>
<init-param>
<param-name>jcifs.netbios.wins</param-name>
<param-value>10.169.10.77,10.169.10.66</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>NtlmHttpFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
3. What else needs to happen at the tomcat config level? It's a new setup.
4. How do I extract the user Id from within the tomcat servlet.
Any pointers to docs appreciated.
Many Thanks!
More information about the jcifs
mailing list