[jcifs] newbie question

Michael B Allen mba2000 at ioplex.com
Sat Jul 26 10:48:13 EST 2003


> Hi,
>
> Thanks to samba, and the jcifs developers for the fine libraries.
>
> I have been able to authenticate users  successfully using my servlet
> based
> web application using jcifs, works great.
> Is there also a way using jcifs to retrieve the name of the user logging
> in?

If you're using the 2.3 Servlet Filter use getRemoteUser. With the
NtlmServlet retrieve the ntlmuser attribute. See that source file for
details.

Mike



More information about the jcifs mailing list