[jcifs] Problems in Integrated Windows Authentication

asif asif.shivapur at techtreeit.com
Mon Nov 12 06:05:32 GMT 2007


Dear All,

            I am trying for Integrated Windows Authentication on Windows
2003 server and Windows Xp client. First step, I did is added client onto
server. Second step, I added filters to my application and copied
jcifs-1.1.11.jar file to lib directory. Please, see the below lines

 

<filter>

<filter-name>NtlmHttpFilter</filter-name>

<filter-class>jcifs.http.NtlmHttpFilter</filter-class>

 

<init-param>

<param-name>jcifs.http.domainController</param-name>

<param-value>192.168.1.11</param-value>

</init-param>

 

 

<init-param>

<param-name>jcifs.smb.client.domain</param-name>

<param-value>NYC-USERS</param-value>

</init-param>

<init-param>

<param-name>jcifs.smb.client.username</param-name>

<param-value>somenycuser</param-value>

</init-param>

<init-param>

<param-name>jcifs.smb.client.password</param-name>

<param-value>AReallyLoooongRandomPassword</param-value>

</init-param>

</filter>

 

<filter-mapping>

<filter-name>NtlmHttpFilter</filter-name>

<url-pattern>/*</url-pattern>

</filter-mapping>.

Third step I am trying to access the application on client machine .Its
prompt for username and password. After passing credentials its displaying
application. Afterwords, other user also can able to login into server.
Sitting on same machine. So, its wrong integrated windows authentication.
Anybody can please guide to me to resolve this problem.

 

Thanks & Regards,

Asif

 

 

 

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list