[Twisted-Python] Re: Perspective Broker Anonymous access..

Carlos Eduardo cedepaula at yahoo.com.br
Tue Dec 19 14:21:47 MST 2006


>It would be a very welcome contribution. :)  Take a look at these pages,if you
>haven't already seen them, for some guidelines on how to bestcontribute the
>changes, and feel free to ask if you have any other questions.Jean-Paul
> 

JP,

I made some changes to pb.py and it now supports anonymous logins.

The only file that was changed is pb.py and I tried to make a new support
without changing the existing code as much as I could.

I´m new in Twisted.. and dont know if the solution I created was the best or the
most indicated. Suggestions are welcome.

Here follows the patch, the full pb.py file and an example based on pbserver6
and pbclient6 both supporting authenticated and anonymous access(just comment
the correct line in client).

The links to the files:

http://kmm.googlecode.com/files/pb.py
http://kmm.googlecode.com/files/pb_anonymous.patch
http://kmm.googlecode.com/files/pb6client1.py
http://kmm.googlecode.com/files/pb6server.py


Thanks and awaiting a feedback,

Carlos







More information about the Twisted-Python mailing list