Thanks piccoli.
Yes you are right, this is the second step of authentication.
After doing this step, IE returns NTLM authentication in its header.
Im validating the credentials sent by the IE(Step 3 to Step 6).
Successfully got the username and domain name.
Then I will display a form to user in which his name and domain name is filled.
user have to fill the remaining entries and submit it.
when i try to submit a form, Its data is not received in the subsequent pages.
I have debugged a lot, not able to find any solution.
Im following the steps mentioned in http://www.innovation.ch/java/ntlm.html.
Pls help me out.
Regards
Ganesh
>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.
>The code above does step 2 of the NTLM handshake.
>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.
>The NTLM protocol is explained below.
>http://www.innovation.ch/java/ntlm.html
>looking through the tcp trace of my NTLM conversation IE is always doing
>a GET. There is no actual data being past only the HTTP headers are
>being used.
>It is not clear what steps you are actually performing and the results.
>Send the code and the results for each of the steps defined in the NTLM
>handshake and I might have a chance of solving this OK!
>I would send the ethereal trace but I can't get it into text format.