Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to download files using Integrated Windows Authentication (IWA)?

Emanuele Blanco
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I need to make a class that allows me to download files that can be accessed via Integrated Windows Authentication. If i login on the domain, I can access those files via Internet Explorer without setting any credential.

URLs are redirected: I can access to a document via a http://mydomain.local/download.aspx?DocNumber=xxx, where xxx is the identifier for the document. I'm using JDK 5. My goal is to ask the server for the filename then write a file with that name (and of course the content :-))

I read some instructions here - - but it doesn't work. It hangs when it tries to read the line from the InputBuffer.

Any suggestions - tricks - links to read are welcome, I'm really newbie into Java networking programming using authentication, and even with that Microsoft IWA stuff

Thank you.
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic