how to download files using Integrated Windows Authentication (IWA)?
posted 7 years ago
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 :-))