Thanks Piccoli
Im using Apache, Tomact and mod_jk.
 I am trying to do NTLM authentication from JSP.

 String strAuth = request.getHeader("Authorization");
 if (strAuth == null)
 {
    response.setStatus(response.SC_UNAUTHORIZED);
    response.setHeader("WWW-Authenticate", "NTLM");
    return;
 }
After executing the above part of the code, Internet Explorer returns the
NTLM credentials of the user which is to be validated by the server.After
executing above code, if i do POST Request the data received from the FORM
is null.
If i do GET Request, things are working fine.Im not able to understand the
behaviour.
CONTENT-LENGHT is for all the pages.

Any help is appreciated.

Thanks and Regards
Ganesh


----- Original Message -----
From: "Piccoli, Lucio" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 10:47 AM
Subject: RE: NTLM and Post request


> >   Im using NTLM authentication to authenticate the user in the
> intranet.
> >   After authenticating the user the Post request stops working.
> >   The content-length in the request is zero.
>
> Not sure what you mean by the 'post request' has stopped working. Do you
> mean tomcat stops accepting HTTP posts once the NTLM auth is complete?
> So tomcat is doing the NTLM auth, so what NTLM implementation are you
> using under tomcat?
>
> >   I have also tried by adding NTLM authentication module to apache, Im
> > facing
> >  the same problem in this case also.
>
>
> Where is the NTLM authentication happening, in apache or tomcat? I have
> never used the NTLM modules for apache but assuming they work, what is
> the mechanism that you are using between apache and tomcat? Is it the
> mod_jk?
>
>
>
>
>  -lp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> Disclaimer :-   This e-mail message including any attachment may contain
confidential, proprietary or legally privileged information.It should not be
used by who is not the original intended recipient.If you have erroneously
received this message,you are notified that you are strictly prohibited from
using, coping, altering or disclosing the content of this message.Please
delete it immediatly and notify the sender. Newgen Software Technologies Ltd
and / or its subsidiary Companies accept no responsibility for loss or
damage arising from the use of the information transmitted by this email
including damage from virus and further acknowledges that any views
expressed in this message are those of the individual sender and no binding
nature of the message shall be implied or assumed unless the sender does so
expressly with due authority of Newgen Software Technologies Ltd and / or
its subsidiary Companies, as applicable.
>
>
>
>
>
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to