authenticating over XML-RPC to implement the Blogger API
Hello Everyone, I've got a problem and was wondering if anyone on this list my have some insight as to howto solve it. I want to implement a the Blogger XML-RPC API to allow users to add content toa Zope site (the API is here http://plant.blogger.com/api/index.html). It requires that theusername and password be sent as parameters in each function call. is it possible to hookinto Zopes authentication scheme via a external method or python script? I've also noticedthat it could be possible to grab the username and password from the XML-RPC call whenZPublisher calls request.processInputs(), but I don't know how Zope authenticates the userthis may be to late in the process to try and fudge with the request object. Has anyone elsedone user authentication via parameters? Any help would be appreciated -- Nathan Sain
ZSyncer does user authentication over xmlrpc via xmlrpclibBasicAuth.py, download it and take a look. ----- Original Message ----- From: "Nathan Sain" <njsain@antler.oursc.k12.ar.us> To: <zope@zope.org>; <zope-dev@zope.org> Sent: Monday, February 04, 2002 9:19 AM Subject: [Zope] authenticating over XML-RPC to implement the Blogger API
Hello Everyone, I've got a problem and was wondering if anyone on this list my have some insight as to howto solve it. I want to implement a the Blogger XML-RPC API to allow users to add content toa Zope site (the API is here http://plant.blogger.com/api/index.html). It requires that theusername and password be sent as parameters in each function call. is it possible to hookinto Zopes authentication scheme via a external method or python script? I've also noticedthat it could be possible to grab the username and password from the XML-RPC call whenZPublisher calls request.processInputs(), but I don't know how Zope authenticates the userthis may be to late in the process to try and fudge with the request object. Has anyone elsedone user authentication via parameters?
Any help would be appreciated --
Nathan Sain
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I don't think basic auth is going to cut it. The API wants username and password to be passed as arguments. Probably need to hack a user folder implementation. ----- Original Message ----- From: "Andy" <andy@agmweb.ca> To: <njsain@antler.oursc.k12.ar.us>; <zope@zope.org>; <zope-dev@zope.org> Sent: Sunday, February 03, 2002 10:33 PM Subject: Re: [Zope] authenticating over XML-RPC to implement the Blogger API
ZSyncer does user authentication over xmlrpc via xmlrpclibBasicAuth.py, download it and take a look.
----- Original Message ----- From: "Nathan Sain" <njsain@antler.oursc.k12.ar.us> To: <zope@zope.org>; <zope-dev@zope.org> Sent: Monday, February 04, 2002 9:19 AM Subject: [Zope] authenticating over XML-RPC to implement the Blogger API
Hello Everyone, I've got a problem and was wondering if anyone on this list my have some insight as to howto solve it. I want to implement a the Blogger XML-RPC API to allow users to add content toa Zope site (the API is here http://plant.blogger.com/api/index.html). It requires that theusername and password be sent as parameters in each function call. is it possible to hookinto Zopes authentication scheme via a external method or python script? I've also noticedthat it could be possible to grab the username and password from the XML-RPC call whenZPublisher calls request.processInputs(), but I don't know how Zope authenticates the userthis may be to late in the process to try and fudge with the request object. Has anyone elsedone user authentication via parameters?
Any help would be appreciated --
Nathan Sain
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Andy -
Chris McDonough -
Nathan Sain