Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

FileNotFound exception using authentication in ISA Proxy Server  RSS feed

 
Gavin O'Kane
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I've got a java client application talking to an application server via IIS. This operates without any hitches. I now require it to operate via a ISA Proxy Server. The client operates as expected when "Ask for user Authentication" is switched OFF in ISA but as I require this switch to be ON this is not an option.
When user authentication is ON and I get a "java.io.FileNotFound" exception on a getInputStream instruction.
I have tried inserting the following code but I still receive the error:

The code fails on the getInputStream, and the file it is trying to access is a .bat file.
I have attempted to configure ISA by setting up a Client Set and a Destination Set and subsequently setting up rules to allow specified IP addresses full access to the destination IP address. But this had no effect.
I have also tried putting in the -Dhttp.proxyHost=proxy_server_host -Dhttp.proxyPort=port switches in the javaw command on the batch file; but still no change.
Is there anything else I can try. Please note that I am quite new to Java, ISA Proxy Server, and ISS.
Regards
Gavin
 
Gavin O'Kane
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Incase anyone else has the same problem...It was solved by enabling "Basic" authentication on the ISA Server.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!