File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes NTLM + Jakarta File Upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "NTLM + Jakarta File Upload" Watch "NTLM + Jakarta File Upload" New topic

NTLM + Jakarta File Upload

Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
Hi Guys, Please refer to the following URL before understanding my problem. Click here
Well I have developed a web application that is a simple file upload, using commons jakarta file upload. Before my request goes to the file upload servletFileUpload.parseRequest(request) method, I am doing the authentication as mentioned in the above web page, i.e. NTLM authentication using the handshake process of browser and the server. But what happens is, my request objects gets corrupted. And when I pass my request object to the parse() method of jakarta file upload, it simply returns nothing on the post of the.

<form name="frmPR" method="post" action="/upload/servlet/GatewayServlet" enctype="multipart/form-data"> I went to their forums and jakarta gurus say that this is the requirement that the request should not have been parsed, before it comes to the parse() method of jakarta file upload.

It seems like the NTLM authentication, destroys the request object, any idea to save the browser request object or headers object inside of request.

Please let me know if any of you have any solution to this.

Awais Bajwa
I agree. Here's the link:
subject: NTLM + Jakarta File Upload
jQuery in Action, 3rd edition