[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-update-dev] Proxy server access
|
Hi Greg,
we got 3-4 different feature request/bugs from user to be able to setup a
proxy server when using update manager.
their company do not allow them to connect to the internet directly, but
through a proxy server.
See <http://dev.eclipse.org/bugs/show_bug.cgi?id=19258>
So,
how to use it, ... the simplest way is to have a preference page like the
one in Netscape or IE
(Embedded image moved to file: pic19388.pcx)
(Embedded image moved to file: pic04181.pcx)
(Embedded image moved to file: pic09141.pcx)
Where the user selects the proxy and the port. Some require userid and
password, and apparently our java.net.Authenticator strategy doesn't seem
to work here (need to see with webdav people)
It does not become initialized, people have to enter the data ;-( Now....
we may start a wizard the first time the function is executed...
The code will then look like this
System.getProperties().put("proxySet", "true");
System.getProperties().put("proxyHost", proxyHost);
System.getProperties().put("proxyPort", proxyPort);
String authString = "userid:password";
String auth = "Basic " + new sun.misc.BASE64Encoder
().encode(authString.getBytes());
URL url = new URL("http://java.sun.com/");
URLConnection conn = url.openConnection();
conn.setRequestProperty("Proxy-Authorization", auth);
<http://www.javaworld.com/javaworld/javatips/jw-javatip42.html>
<http://java.sun.com/products/plugin/1.2/docs/proxies.html>
I am worried about using the sun class so we may have to create our own, or
maybe the webdav team already found something else
The Help team said they may have a need for the same page in a
'not-too-far' future...
Thoughts ?
Chris
|---------+------------------------------------->
| | "Greg Adams" |
| | <Greg_Adams@xxxxxxx> |
| | Sent by: |
| | platform-update-dev-admin@|
| | eclipse.org |
| | |
| | |
| | 07/09/2002 03:04 PM |
| | Please respond to |
| | platform-update-dev |
| | |
|---------+------------------------------------->
>-------------------------------------------------------------------------------------------------------+------------------------|
| | |
| To: platform-update-dev@xxxxxxxxxxx | |
| cc: | |
| Subject: Re: [platform-update-dev] Proxy server access | |
>-------------------------------------------------------------------------------------------------------+------------------------|
Christophe,
Can you elaborate on exactly how you plan to use this, how it becomes
initialized. I am also a bit worried about what this means to users & what
is expected of them with it. Apologies if this question is asked/answered
already.
/Greg
celek@xxxxxxxxxx
Sent by: To:
platform-update-dev-admin@eclip eclipse-dev@xxxxxxxxxxx
se.org cc:
platform-update-dev@xxxxxxxxxxx
Subject:
07/09/2002 02:40 PM [platform-update-dev] Proxy server
Please respond to access
platform-update-dev
Hello all,
The Eclipse Update Manager will need a preference page where the user can
specify a proxy server and a port number. (and maybe a userid and a
password)
Before the team starts working on it...
1) has it been done by another team ?
2) which other team may need it ? (so we can work on a common set of API )
Please follow up on the update manager mailing list
Txs
Chris
_______________________________________________
platform-update-dev mailing list
platform-update-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-update-dev
Attachment:
pic19388.pcx
Description: Binary data
Attachment:
pic04181.pcx
Description: Binary data
Attachment:
pic09141.pcx
Description: Binary data