Guys,
I'm getting mad...
I try to pass through a proxy with basic auth.
I found the way to add good things to :
service.getRequestFactory().setPrivateHeader("Proxy-
Authorization",base64encodedCredentials);
BUT, if I dump network traffic with ethereal it appears that my Proxy-
Authorisation never pass.
par of my code :
Properties systemSettings =
System.getProperties();
systemSettings.put("https.proxySet",
"true");
systemSettings.put("http.proxyHost",
"myprox"
systemSettings.put("http.proxyPort",
"80");
systemSettings.put("proxySet", "true");
systemSettings.put("https.proxyHost",
""myprox");
systemSettings.put("https.proxyPort",
"80");
System.setProperties(systemSettings);
String base64encodedCredentials =
"Basic blablablablalblabla==";
service.service.getRequestFactory().setPrivateHeader("Proxy-
Authorization",base64encodedCredentials);
service.setUserCredentials(User,Passd);
Alway crash with : com.google.gdata.util.AuthenticationException:
Error connecting with login URI
and never found the Proxy-Authorisation chain declared in
PrivateHeader in the dump.
Any idea ??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---