[Newbies] authenticating Squeak to a proxy
Michael van der Gulik
mikevdg at gmail.com
Tue Apr 1 00:03:02 UTC 2008
On Tue, Apr 1, 2008 at 12:28 PM, <wgsilkie at ihug.co.nz> wrote:
> I am new to Squeak (but not OO programming), and reading the "Squeak by
> Example" book, but I can't figure out how to get Squeak to use a proxy
> requires authentication. When at home, this is not a problem, but at my
> school, I can only access the Internet through an HTTP proxy, and it
> requires that each student enter his or her username and password. I've
> found where in Squeak I need to tell it what port to use, and the server
> name, but there's nothing there for a username or passkey. Is there a way
> to tell Squeak to authenticate itself as a particular user?
HTTPSocket useProxyServerNamed: 'my.proxy.server' port: 80.
HTTPSocket proxyUser: 'myUserID' password: 'myPassword'.
Also, you can manually download packages using a web browser and install
them using Squeak's file browser.
If it doesn't work, email me back and I'll have a proper look this evening
Gulik (in Wellington).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners