Dne 15. 05. 2012 16:41, piše Yanni Chiu:
On 15/05/12 3:00 AM, Janko Mivšek wrote:
Dne 15. 05. 2012 00:01, piše Stéphane Ducasse:
Just FYI, me and Cloudfork guys are just finishing the OpenID 2.0/OAuth 2.0 support for Iliad and Aida, based on Cloudfork SSO [1]. On Pharo and VW. On Pharo Zync with Zodiak SSL is used. Current goal is to develop a Google Docs API support.
is the library available as a library? I mean not linked to aida or iliad?
Idea actually is to have WebCloudSSO library as independent as possible, but not without some web server/web framework, because OpenID/OAuth rely heavily on HTTP redirects.
WebCloudSSO library currently works on Aida, now I'll start adapting it to Iliad, later someone can adapt it to Seaside or even to plain web server like Zync. Maybe it will even come under Cloudfork trademark at the end, we will see. Cloudfork otherwise already have a Seaside OpenID example.
Have I understood this right? You started with CloudforkSSO, "ported" it to Iliad and Aida (i.e. WebCloudSSO), and in future WebCloudSSO may merge back into CloudforkSSO. Was it just easier/faster to do it this way, rather than split the Seaside dependent parts out of CloudforkSSO?
WebCloudSSO uses and extends a bit updated original Cloudfork. I therefore didn't replace it. Separate package was chosen to more freely experiment and add OpenID/OAuth functionality to Aida and Iliad, now when WebCloudSSO stabilises, it is time to propose a merge back to Cloudfork. My idea and proposal is to have one "trademark" for all cloud related support and for all web frameworks. And Cloudfork is actually very good library, portable to many Smalltalks, so let me thank Jan van de Sandt and Ernest Micklei on this occasion for their excellent work!
Is there any additional OpenID/OAuth functionality in WebCloudSSO, beyond what was in CloudforkSSO?
Yes, OAuth 2.0 support, which is not in CloudforkSSO yet (just OAuth 1.0 there). An few OpenID 2.0 changes. Two main classes are added: OpenIDAuthenticator OAuthAuthorizator Best regards Janko -- Janko Mivšek Aida/Web Smalltalk Web Application Server http://www.aidaweb.si