[jcifs] ntlm authentication using spnego + jcifs
asaf.mesika at gmail.com
Tue Apr 8 05:44:23 GMT 2008
The best for you to implement this would be to use the TagLib support
They have implemented the SPNEGO decoding.
Take their code and split it into two classes:
1. Tomcat authenticator - in charge of negotiation with the browser until
Kerberos ticket is achieved.
2. JBoss Login Module - in charge of activating Sun's Kerb5 login module.
I've used XStream to convert the object I needed to pass between the two
classes, into XML and back. (The object is the Kerberos Service Ticket).
On Mon, Apr 7, 2008 at 9:50 PM, Rohnny Moland <rmoland at gmail.com> wrote:
> On Mon, Apr 7, 2008 at 8:28 PM, Caldarale, Charles R
> <Chuck.Caldarale at unisys.com> wrote:
> > > From:
> > > jcifs-bounces+chuck.caldarale=unisys.com at lists.samba.org
> > > [mailto:jcifs-bounces+chuck.caldarale<jcifs-bounces%2Bchuck.caldarale>
> =unisys.com at lists.samba.o
> > > rg] On Behalf Of Rohnny Moland
> > > Subject: Re: [jcifs] ntlm authentication using spnego + jcifs
> > >
> > > The wiki says I should create a context.xml file inside WEB-INF
> > That should be META-INF, not WEB-INF, for the context.xml file.
> > - Chuck
> Yes, I was thinking the same so I have tried to put it in META-INF
> too, without any luck. The valve seems to not be called.
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the jcifs