Re: [Simpleweb-py-users] simpleweb: example typo
Status: Beta
Brought to you by:
essiene
From: simpleweb-users <sim...@li...> - 2006-12-11 12:54:48
|
> > On 12/9/06, *Samuel Montgomery-Blinn* <sa...@ca... > <mailto:sa...@ca...>> wrote: > > > Not a very great first contribution from me, but: > > http://simpleweb.essienitaessien.com/example > > > There is currently only *intergrated* support for Cheetah, but you > don't even need to have another system integrated to use it. > > The second spelling of integrated is the correct one, the first one > (inte*r*grated) has an extra "r". Thanks. correction applied now. > > Thanks for making Simpleweb available, it is quite interesting so far. > I'm so very happy to have a simple, clean framework that includes a > basic role-based authentication in it -- I'm hoping to simply use OpenId > for user/password, have you tried to set this up with Simpleweb yet? > > -Sam No. I've not tried this, but I don't think it should be difficult. The trick will be to authenticate with OpenID before calling config.auth_plugin.set_session_user(). Also, does open ID allow transparent support for roles? If not, you'll probably have to still maintain an OpenID_User to Your_App_Roles mapping, then after the open-id auth step is successfull, you grab the role from your mapping table, and call set_session_user. > > |