Hello All, I'm trying to get working the example shown in: http://blog.doit.st/2011/02/23/cloudforksso-on-pharo-with-stunnel/ I loaded the package without probles doing
When I try to evaluate the piece of code that follows,
I found CFHttpClientTunnelAccess class is not in my image. Browsing, I found CFTunneledHttpClient, but the protocol of this class is different from the missing one. Furthermore, I don't understand where this code should be located, so that self reference makes sense. I'm using Pharo 1.3 , as I think it is the Pharo version contemporary with this package and post. Is there some updated documentation for this? is someone using this package or connecting to twitter from pharo? Thanks af |
Hi Adrian,
Try with latest Pharo 1.4 OneClick which has SSL plugin included so that you won't need tuneling but use SSL directly with Zodiak. Cloudfork SSO works that way too. Best regards Janko Dne 06. 10. 2012 17:44, piše Adrian Fernandez: > > Hello All, > I'm trying to get working the example shown in: > > http://blog.doit.st/2011/02/23/cloudforksso-on-pharo-with-stunnel/ > > I loaded the package without probles doing > > |1| |Gofer ||new| > > |2| | ||squeaksource: ||'Cloudfork'||;| > > |3| | ||package: ||'ConfigurationOfCloudforkSSO'||;| > > |4| | ||load.| > > |5| |(Smalltalk at: ||#ConfigurationOfCloudforkSSO) project > latestVersion load: 'Tests'| > > > When I try to evaluate the piece of code that follows, > > > |1| |self| |default httpClient: ((CFHttpClientTunnelAccess ||new||)| > > |2| | ||client: CFHttpClientZincAccess ||new| |;| > > |3| | ||tunnel: ||'www.google.com > <http://www.google.com>'| |through: ||'localhost:20011'| |;| > > |4| | ||tunnel: ||'api.twitter.com > <http://api.twitter.com>'| |through: ||'localhost:20012'||;| > > |5| | ||tunnel: ||'graph.facebook.com > <http://graph.facebook.com>'| |through:||'localhost:20013'| |;| > > |6| | ||tunnel: ||'open.login.yahooapis.com > <http://open.login.yahooapis.com>'| |through:||'localhost:20014'| |;| > > |7| | ||tunnel: ||'openid.hyves-api.nl > <http://openid.hyves-api.nl>'| |through:||'localhost:20015'| |;| > > |8| | ||yourself )| > > > I found CFHttpClientTunnelAccess class is not in my image. Browsing, I > found CFTunneledHttpClient, but the protocol > > of this class is different from the missing one. > > Furthermore, I don't understand where this code should be located, so > that self reference makes sense. > > I'm using Pharo 1.3 , as I think it is the Pharo version contemporary > with this package and post. > > Is there some updated documentation for this? is someone using this > package or connecting to twitter from pharo? > > Thanks > > af > > -- Janko Mivšek Aida/Web Smalltalk Web Application Server http://www.aidaweb.si |
Free forum by Nabble | Edit this page |