[Grok-dev] LoginDemo and PlainLoginDemo and BabyLoginDemo
sebastian at urbantalk.se
Wed Jan 16 07:42:13 EST 2008
16 jan 2008 kl. 13.20 skrev Luciano Ramalho:
> On Jan 16, 2008 7:32 AM, Kevin Teague <kevin at bud.ca> wrote:
>> In BabyLoginDemo I created a MemberAuthentication class that wraps up
>> a cookie credential implementation and a reliance on a app['members']
>> container to provide Member objects that also implement the required
>> IPrincipal interface. Although you can join and login to
>> right now it's not finished you can't logout and member listing
>> doesn't work yet ...
> That is really nice and a very useful example, and I learned quite a
> bit from it already.
> But I would not call it BabyLoginDemo because if baby steps in Grok
> authentication entail implementing your own authentication utility
> from scratch, then I am afraid hordes of potential users will just run
Maybe CustomAuthenticationDemo. Anyway, this looks like a really,
really, really, nice recipe!!!
>> Another package that might be interesting to create would be a PAU
>> authenticator plugin that allowed you to configure it to treat any
>> arbitrary grok.Container as an authentication source.
> Sure, I'd like to use that in Kirbi for example, because in Kirbi each
> user will have their own folder-like container of books, so it would
> be natural to make the folder containing the user's folders an
> authentication source.
I'd love to see this recipe as well!
> Grok-dev mailing list
> Grok-dev at zope.org
More information about the Grok-dev