E
Elwood P. Dowd
I've tried coding a java program to use java.net.Authenticator to
tunnel through a proxy server, and it keeps failing with an HTTP 407
(authentication failed).
Using:
- jdl 1.4.2
I instantiated my authenticator class (not shown) and registered it
using:
MyAuthenticator ma = new MyAuthenticator();
Authenticator.setDefault(ma);
My MyAuthenticator class has the requisite getPasswordAuthentication()
method.
But getPasswordAuthentication() never gets invoked ?
I know my proxy serer requires a userid/password.
But I get an IOException and MyAuthentication never seems to get
invoked ??
Does anyone have a clue ?
tunnel through a proxy server, and it keeps failing with an HTTP 407
(authentication failed).
Using:
- jdl 1.4.2
I instantiated my authenticator class (not shown) and registered it
using:
MyAuthenticator ma = new MyAuthenticator();
Authenticator.setDefault(ma);
My MyAuthenticator class has the requisite getPasswordAuthentication()
method.
But getPasswordAuthentication() never gets invoked ?
I know my proxy serer requires a userid/password.
But I get an IOException and MyAuthentication never seems to get
invoked ??
Does anyone have a clue ?