[jcifs] networkExplorer: determine domain\username
Michael B Allen
ioplex at gmail.com
Tue Sep 23 21:39:49 GMT 2008
On Tue, Sep 23, 2008 at 5:25 PM, Newell, Gary <gary.newell at intel.com> wrote:
> jcifs:
>
> Is it possible in networkExplorer to determine what domain\username is
> currently accessing the servlet?
Yes. There's a line in doGet that looks like:
req.getSession().setAttribute( "npa-" + server, ntlm );
You can get to the domain an username from the ntlm object.
Mike
--
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/
More information about the jcifs
mailing list