[jcifs] ntlm authentication using spnego + jcifs

Asaf Mesika asaf.mesika at gmail.com
Mon Apr 7 14:49:19 GMT 2008

Well first of, it would help if you can describe the solution you've
implemented in a broad sense: Tomcat Authenticators, JBoss Login Modules.
Are you using any third party library for that? (jCIFS is targeted at NTLM
authentication and not NEGOTIATE).
Second, please describe where are you fetching the remote user name (at what
stage) ?

I've implemented it my self, and have found the wiki document, you've
referenced, as vague starting point, which lacks tons of details.

On Mon, Apr 7, 2008 at 2:50 PM, Rohnny Moland <rmoland at gmail.com> wrote:

> Hello,
> I am trying to get a j2ee application up and running on jboss with
> sso. For that, I have followed this:
> http://wiki.jboss.org/wiki/NegotiateKerberos
> To test it, I have set up a dns server and a domain controller and a
> user in active directory service. From the logs, it seems to work
> fine. I get the principal (the user in ad) back and in the request the
> authentication type is set to negotiate.
> But when I try to get the remote user from the request, it returns a
> number, looks like some sort of id, and I dont really understand it.
> Could someone help me with the why and how I could get the user from
> active directory?
> Kind regards,
> Rohnny
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list