On Sat, Dec 5, 2009 at 5:03 PM, Mario Balibrera
<
mario.b...@gmail.com>wrote:
> Great work, Alex. I listed your project here:
>
http://orbited.org/wiki/Sites .
>
>
> > And here is the Twisted cred checker that uses Django models to do auth:
>
http://github.com/clemesha/hotdot/blob/master/realtime/auth.py
>
>> > (there is a limitation is MorbidQ such that I could not just "plug this
>> in",
>> > see
>> > the above comment and the file "stompfactory.py")
>>
>> Could you propose a patch to MorbidQ to address this limitation? It
>> would be great if you could plug your DatabaseChecker into MorbidQ
>> without having to work around anything.
>>
> Absolutely.
>
> Good call, Matthew. Ken Whitesell would probably know the best way to
> integrate it into his auth module. Ken, thoughts? I've cc'ed the MorbidQ
> list. We should finish this subthread there. ;)
>
I'd appreciate any thoughts on the best way to plug this in, but whatever
the final decision is, I'm happy to contribute a patch.
I don't have access to the code at the moment, but the intent has always
been there to provide database authentication / authorization. (The problem
_I_ encountered when trying to develop one was my inability to create
reliable & repeatable "unit-style" tests.)
The requirements for authenticators are really quite minimal - it's just a
couple of special-named functions that need to be provided. When I get home
and can get to my notes, I'll reply in more detail later. (Will probably be
tomorrow.) Please feel free to nag me again Monday night if I should forget
between now and then.
Ken
to nag me