On 01/19/2012 06:12 PM, alex bodnaru wrote:
> 
> hello friends,
> 
> thanks a lot for this wonderful framework of who/what.
> 
> i managed to get a small configuration working with friendlyform and cookie
> auth_tkt, authenticating with my custom plugins by a queer users' table.
> 
> [plugin:auth_tkt]
> use = repoze.who.plugins.auth_tkt:make_plugin
> secret = my secret
> cookie_name = authntkt
> 
> [plugin:friendlyform]
> use = repoze.who.plugins.friendlyform:FriendlyFormPlugin
> rememberer_name = auth_tkt
> 
> [identifiers]
> plugins =
>     friendlyform;browser
>     auth_tkt
> 
> 
> but as remembering the userid in a cookie would be forgery prone, i wanted to
> use the beaker rememberer instead:
> 
> [plugin:beaker_tkt]
> use = repoze.who.plugins.beaker_tkt:make_plugin
> key_name = repoze.who.tkt
> session_name = beaker.session
> 
> [plugin:friendlyform]
> use = repoze.who.plugins.friendlyform:FriendlyFormPlugin
> rememberer_name = ????????????
> 
> [identifiers]
> plugins =
>     friendlyform;browser
>     beaker_tkt
> 
> this setup doesn't unfortunately work for me and i especially don;t know what
> rememberer_name to pass to the friendlyform plugin above.
> 
>   File
> "/srv/turbogears/tg2.1/lib/python2.7/site-packages/repoze.who_friendlyform-1.0.8-py2.7.egg/repoze/who/plugins/friendlyform.py",
> line 253, in _get_rememberer
>     rememberer = environ['repoze.who.plugins'][self.rememberer_name]
> KeyError: 'the rememberer_name i gave'
> ----------------------------------------
> 
> 
> any ideas?
> 
> thanks in advance
> alex

_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to