Re: [Twisted-Python] multiple log-in / perspective broker

2014-01-11 Thread Daniel Sank
> _PortalAuthChallenger is a Referenceable Facepalm. Thanks. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] multiple log-in / perspective broker

2014-01-11 Thread exarkun
On 08:46 pm, sank.dan...@gmail.com wrote: In other words, you don't have to log in on the *root* pb object. Loginis just a PB method call. You can have a second portal wrapping a different realm handing out different avatars and you can log in to that portal the second time. I look in t.s.pb

Re: [Twisted-Python] multiple log-in / perspective broker

2014-01-11 Thread Daniel Sank
> In other words, you don't have to log in on the *root* pb object. Loginis > just > a PB method call. You can have a second portal wrapping a different realm > handing out different avatars and you can log in to that portal the second time. I look in t.s.pb to find out what methods are called

Re: [Twisted-Python] multiple log-in / perspective broker

2013-12-28 Thread Daniel Sank
> In other words, you don't have to log in on the *root* pb object. > Login is just a PB method call. You can have a second portal > wrapping a different realm handing out different avatars and you > can log in to that portal the second time. How can the client access that second Portal if it's n

Re: [Twisted-Python] multiple log-in / perspective broker

2013-12-28 Thread exarkun
On 04:22 pm, ita...@itamarst.org wrote: I am imagining having a remotely accessible login() method on the avatar returned by the realm. In other words, you don't have to log in on the *root* pb object. Login is just a PB method call. You can have a second portal wrapping a different rea

Re: [Twisted-Python] multiple log-in / perspective broker

2013-12-28 Thread Itamar Turner-Trauring
I am imagining having a remotely accessible login() method on the avatar returned by the realm. I meant to say read current implementation, not "urgent". Written on an iPad still, sorry. ___ Twisted-Python mailing list Twisted-Python@twistedmatri

Re: [Twisted-Python] multiple log-in / perspective broker

2013-12-28 Thread Daniel Sank
> Do your own cred login() to the new Realm, or maybe Portal if need > auto auth. The way I understand currently is like this: r = MyIRealmImplementer() p = portal.Portal(r) pbFactory = pb.PBServerFactory(p) reactor.listenTCP(, pbFactory) reactor.run() The API documentation for Portal specifical

Re: [Twisted-Python] multiple log-in / perspective broker

2013-12-27 Thread Itamar Turner-Trauring
On 2013-12-27 16:48, Daniel Sank wrote: > Anyone? ___ Do your own cred login() to the new Realm, or maybe Portal if need auto auth. Read how urgent existing login code works, it is just a thin layer. I can't really give a good answer when typing o

Re: [Twisted-Python] multiple log-in / perspective broker

2013-12-27 Thread Daniel Sank
Anyone? ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python