Ok, I found a partial answer to my own question. Turns out I could add a String password = ""; String encodedPassword = "Basic " + new sun.misc.BASE64Encoder().encode(password.getBytes()); conn.setRequestProperty( "Proxy-Authorization", encodedPassword );
And it should work, da? Anyway, should I add this as a new task, or is this an attribute off of Get? It seems to be an attribute, imho. > D) Proxy username/password > I've set the appropriate flags for using a proxy, but can't seem to figure > out how to send my username/password for our web proxy. Anyway, > the flags I > set are > "-Dhttp.proxySet=true -Dhttp.proxyPort=8080 > -Dhttp.proxyHost=172.16.91.91". > I pass them into the JVM, and it at least attempts to go grab the files. > However, I know the proxy requires a password/username... where > do I specify > this? Any suggestions?
