Re: [Twisted-Python] mind, twisted.cred and HTTPAuthSessionWrapper

2009-02-19 Thread Esteve Fernandez
On Thursday 19 February 2009 20:59:19 Jean-Paul Calderone wrote: > The convention is for avatarId to be a string, but as the anonymous case > indicates, that's not strictly required. :) The real requirement is that > the realm be able to interpret the avatarId. The way this generally works Heh,

Re: [Twisted-Python] mind, twisted.cred and HTTPAuthSessionWrapper

2009-02-19 Thread Jean-Paul Calderone
On Thu, 19 Feb 2009 20:22:30 +0100, Esteve Fernandez wrote: On Thursday 19 February 2009 19:46:59 Jean-Paul Calderone wrote: >But, in our case, requestAvatar can only return something based on what > the checker returns. I mean, requestAvatar receives an avatarId (as a > result of Checker#requ

Re: [Twisted-Python] mind, twisted.cred and HTTPAuthSessionWrapper

2009-02-19 Thread Esteve Fernandez
On Thursday 19 February 2009 19:46:59 Jean-Paul Calderone wrote: > >But, in our case, requestAvatar can only return something based on what > > the checker returns. I mean, requestAvatar receives an avatarId (as a > > result of Checker#requestAvatarId), a mind and a bunch of interfaces, but > > the

Re: [Twisted-Python] mind, twisted.cred and HTTPAuthSessionWrapper

2009-02-19 Thread Jean-Paul Calderone
On Thu, 19 Feb 2009 19:39:48 +0100, Esteve Fernandez wrote: On Thursday 19 February 2009 18:57:29 Jean-Paul Calderone wrote: On Thu, 19 Feb 2009 18:47:37 +0100, Esteve Fernandez wrote: >On Thursday 19 February 2009 18:28:59 Jean-Paul Calderone wrote: >> What kind of "extra information" are

Re: [Twisted-Python] mind, twisted.cred and HTTPAuthSessionWrapper

2009-02-19 Thread Esteve Fernandez
On Thursday 19 February 2009 18:57:29 Jean-Paul Calderone wrote: > On Thu, 19 Feb 2009 18:47:37 +0100, Esteve Fernandez wrote: > >On Thursday 19 February 2009 18:28:59 Jean-Paul Calderone wrote: > >> What kind of "extra information" are you trying to pass? Generally, all > >> information belongs

Re: [Twisted-Python] mind, twisted.cred and HTTPAuthSessionWrapper

2009-02-19 Thread Jean-Paul Calderone
On Thu, 19 Feb 2009 18:47:37 +0100, Esteve Fernandez wrote: On Thursday 19 February 2009 18:28:59 Jean-Paul Calderone wrote: What kind of "extra information" are you trying to pass? Generally, all information belongs with the avatar object. The mind should be used to interact with the protoc

Re: [Twisted-Python] mind, twisted.cred and HTTPAuthSessionWrapper

2009-02-19 Thread Esteve Fernandez
On Thursday 19 February 2009 18:47:37 Esteve Fernandez wrote: > On Thursday 19 February 2009 18:28:59 Jean-Paul Calderone wrote: > > What kind of "extra information" are you trying to pass? Generally, all > > information belongs with the avatar object. The mind should be used to > > interact with

Re: [Twisted-Python] mind, twisted.cred and HTTPAuthSessionWrapper

2009-02-19 Thread Esteve Fernandez
On Thursday 19 February 2009 18:28:59 Jean-Paul Calderone wrote: > What kind of "extra information" are you trying to pass? Generally, all > information belongs with the avatar object. The mind should be used to > interact with the protocol's notion of the user (as the avatar is used to > interac

Re: [Twisted-Python] mind, twisted.cred and HTTPAuthSessionWrapper

2009-02-19 Thread Jean-Paul Calderone
On Thu, 19 Feb 2009 18:07:02 +0100, Esteve Fernandez wrote: Hi all, I'm using HTTPAuthSessionWrapper to wrap a portal, which uses our own checker against an internal service to authenticate users and I'm having trouble to pass extra information to sub resources. I've read about the mind object

[Twisted-Python] mind, twisted.cred and HTTPAuthSessionWrapper

2009-02-19 Thread Esteve Fernandez
Hi all, I'm using HTTPAuthSessionWrapper to wrap a portal, which uses our own checker against an internal service to authenticate users and I'm having trouble to pass extra information to sub resources. I've read about the mind object and I think that's where all that information should go. How