I have a problem, the solution to which I suspect should be trivial, yet It'll be known only to those who have experienced the problem. I'll explain the problem below...
I have a module in my application that processes xml documents, that it use a DTD for verification in mandetory. The problem is, some times the the DTD's lie on the internet, the application itself could exist on an intranet behind a firewall. To acces any resources outside the firewall, it may need need to present credentials to the firewall. If it does not, the firewall will not let the module access resources off the internet. Again, this part where the XML doc is verified is taken care of by JAXP.
Is there a way to (setting some environment variable etc) that I can instruct the underlying JVM and thus JAXP to automatically detect the proxy settings and use a particular set of credentials?