-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Maciej Dziergwa wrote:
> Hi,
>
> When I put
>
> authkit.cookie.params = expires: 10
> comment: test comment
>
>
> to development.ini
> I get following error:
>
> File "/Users/mdziergwa/.buildout/eggs/AuthKit-0.4.2-py2.5.egg/
> authkit/authenticate/cookie.py", line 492, in make_cookie_user_setter
> app = CookieUserSetter(app, **user_setter_params)
> File "/Users/mdziergwa/.buildout/eggs/AuthKit-0.4.2-py2.5.egg/
> authkit/authenticate/cookie.py", line 284, in __init__
> if params.has_key('secure') and asbool(params['secure']) == True:
> AttributeError: 'str' object has no attribute 'has_key'
>
>
> Do you hae any idea what is wrong in it? I copy paste it from pylons
> books so it should work fine
>
> Greetings
> Maciek
>
"Historically AuthKit <http://authkit.org/> has been the typical
solution for authentication and authorization needs in Pylons
applications. Unfortunately the version 0.3 has a few bugs like
problems with Unicode strings. Version 0.4 is in the making but not
yet finished. Most of the documentation that is floating around
doesn't match either version properly. At the moment (August 2007)
AuthKit should probably be avoided. It is definitely worth a look in
the future because it include different ways of authentication (like
OpenID) and works as a proper WSGI middleware layer."
from -
http://wiki.pylonshq.com/display/pylonscookbook/Authentication+and+Authorization
The "Home-grown" solution is rather simple to setup. I would suggest
that you go that route.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJKKILp0KneERU9LsRAqkfAJwNJoq5+LrUxz8jb0MOly5+FrFMpgCeKgHn
SKeGQGlK5UjKXHfAcgAfHno=
=OfAf
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---