[Newbies] authenticating Squeak to a proxy

Aidan Gauland wgsilkie at ihug.co.nz
Fri Apr 4 04:53:10 UTC 2008

Thanks!  This seems to work for me, but HTTPSocket doesn't seem to have a
method called clearProxyUserPassword, since I just get a "Message not
understood" error.


Michael van der Gulik wrote:
> On Tue, Apr 1, 2008 at 12:28 PM, <wgsilkie at ihug.co.nz 
> <mailto:wgsilkie at ihug.co.nz>> wrote:
>     Hello,
>      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 that
>     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?
> Hi Aidan.
> Try this:
> HTTPSocket clearProxyUserPassword.
> 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 (NZ time).
> Gulik (in Wellington).
> -- 
> http://people.squeakfoundation.org/person/mikevdg
> http://gulik.pbwiki.com/
> ------------------------------------------------------------------------
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

More information about the Beginners mailing list