Reputation: 1031
How can I use xmlrpclib in Python script to connect to xmlrpc service that requires authentication, but without using xmlrpc authentication?
To be specific:
I use Drupal 7.8, there is of course service modules, I will use it's methods like node.create..
Authentication to any HTTP address on this server is required by Shibboleth SSO
I would like to use services but there is no way of loggin to Shibboleth by xmlrpc (I have to simulate regular living user actions, parse html etc).
I managed to get a cookie (login successful) ready in a variable
Now I want to login to services via xmlrpclib.Server("...") but using the cookie I obtained in different way.
Is it possible?
Upvotes: 0
Views: 694