[Zope-CMF] CMFWeblog and RPCAuth
Chris McDonough
chrism at plope.com
Fri Mar 26 16:02:50 EST 2004
You probably want to contact the author of this product directly, as he
may not be monitoring this list.
On Fri, 2004-03-26 at 09:16, Michael Kerrin wrote:
> Hi,
>
> Assuming I have the right list.
>
> I having a small problem with authentication and xml-rpc with the
> CMFWeblog product or else I am not using it correctly.
>
> It seems that practically all the methods in the CMFWeblog product
> require the parameters of 'username' and 'password', although none of
> this parameters are actually used in these methods.
>
> The problem with this is that the RPCAuth product which performs the
> authentication of the XML-RPC request removes the username and password
> from the argument list passed to the method in question in the
> CMFWeblog product causing a BadRequest exception being raised.
>
> I have got around this for now by removing line number 109 in
> RPCAuth.py which removes the 'username' and 'password' from the
> argument list.
>
> I am presuming that the 'username' and 'password' arguments in the
> CMFWeblog methods shouldn't be there or at least be defaulting to None
> (although) this causes a problem has they are positional arguements and
> some have a more arguments after them. If so I can post a patch to
> remove all the references to username and password to the collective at
> sf.net. Or should CMFWeblog be using the username and password to log
> in which the arguement list implies.
>
> Michael Kerrin
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF at zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
More information about the Zope-CMF
mailing list