[Grok-dev] How to do authentication right with Grok

Andreas Jung lists at zopyx.com
Mon Jan 12 02:55:30 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09.01.2009 19:53 Uhr, Martijn Faassen wrote:
> Hey Andreas,
> 
> I think this area is ripe for convenience abstractions (and better 
> documentation), but for now you prompted me into writing this tutorial:
> 
> http://grok.zope.org/documentation/how-to/authentication-with-grok/
> 
> I hope people will get together and condense some of this stuff into a 
> bunch of higher-level abstractions however.
> 

I followed your documentation and basically copied the code 1:1 into my
app.py:

http://zopyx.com/tmp/app.py

However I can not see that credentials/users plugins are used in any
way. Even more: the setup_authentication() method is never called
(neither during the startup phase nor while Grok is running).

Andreas


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAklq93IACgkQCJIWIbr9KYz1vwCgrSEwjdOQbQFg6Mn6vNjsmrHc
FEAAnRS1/CiueZcQWsTexg+SyM/rWjck
=vCEl
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20090112/71f427c4/attachment.vcf 


More information about the Grok-dev mailing list