• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NTLM + Jakarta File Upload

 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic