[jifty-devel] authentication plugins
agostini at univ-metz.fr
Wed Jan 17 11:40:31 EST 2007
food for thought on authentication plugins
Actually I don't write any line of code, I need help or advice before
There's 3 main steps :
1. add a 'realm' accessor in CurrentUser
so application can use current_user->realm
2. add a User plugin
with a default model without action or dispatcher,
application can override this model.
We must define this default model.
3. add some credential plugins
each credential plugin contains
- web pages
which set current_user->id, username and realm
maybe we could use an optional parameter in config.yml to store users in
User plugin. Sometimes we don't need to register users.
Actual Login plugin is now the more complexe plugin
as people have to confirm their mail address.
So I think to 2 solutions.
1. keep actual model and move confirmed email users to User plugin
2. remove model from login plugin and use only User plugin
What do you think about this ?
Agostini yves <agostini at univ-metz.fr>
More information about the jifty-devel