[Twisted-Python] Any examples of an authenticating XMLRPC server?

Itamar Shtull-Trauring itamar at itamarst.org
Mon Feb 28 10:13:01 EST 2005


On Mon, 2005-02-28 at 14:50 +0000, Matt Goodall wrote:

> Right now, the only issue I have with my singleton realm way of working
> is that the realm's requestAvatar can get big and tends to look like a
> switch statement.

If there's an underlying avatar, you can adapt it to the interface
requested by the portal. If there are multiple avatar sources, i.e.
different interfaces get totally different "users", multiple realms may
be better (and you could put the shared logic in an object they all
refer to).





More information about the Twisted-Python mailing list