Hi Chris,

> The quick answer is that it depends on how much control you want.

Extremely mucho :)

I should have elaborated a bit more. What I'm after is not a way to 
customize the form (for now, I sure need that later), but instead the 
way identity & meta-data are looked up. I need to make this based on an 
existing XMLRPC-server.

> Most of the finagling you will have to do surrounds
> RedirectingFormPlugin,
> who's source you can find here:
> 
> http://repoze.org/viewcvs/repoze.who/trunk/repoze/who/plugins/form.py?rev=944&view=auto
> 
> of which you will probably want to modify the "Identify" method.  I
> created a hook in the template middleware.py so that you can pass your
> own in.   Simply instantiate your own Form plugin class and assign it
> in your app_cfg.py:
> 
> of which you will probably want to modify the "Identify" method.  I
> created a hook in the template middleware.py so that you can pass your
> in your own:
> 
> base_config.sa_auth.form_plugin = MyNewFangledFormPlugin()
> 
> I am thinking about providing hooks for other parts of
> make_who_middleware, so let me know if this fancies you.

If my current understanding is correct, I need hooks at least for

Authenticator Plugins

and

Metadata Provider Plugins

and so far these are missing, aren't they? I'm happy to contribute a 
patch if you like. If I get TG2 installed from SVN, failed miserably the 
last time :)


Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to