[jcifs] Windows authentication with jCIFS

Duseja, Sushil sushil.duseja at fiserv.com
Wed Nov 26 18:07:02 GMT 2008



I am new to jCIFS and willing to know as to how I can use windows
authentication using jCIFS.


I ran through the link -
http://jcifs.samba.org/src/docs/ntlmhttpauth.html and developed a small
web application (deployed on tomcat 5.x) which would fetch user details
for me from my organization's active directory. It works fine on my
machine; however when I try running the application from any other
machine, it prompts me for the credentials. I want this application to
authenticate the user (without user having to key in the credentials)
that is logged on to the machine and fetch his/her user details. Can
anyone please advise?


Here's my web.xml


<?xml version="1.0" encoding="UTF-8"?>

<web-app id="WebApp_ID" version="2.4"





      <display-name>AD Authentication</display-name>










                  <param-value>Active Directory</param-value>






















Thanking you in anticipation.

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

More information about the jcifs mailing list