On Wednesday February 18, 2009 16:55:20 cd34 wrote:
> I need to protect an entire application behind a username/password
> prompt.
>
> What middleware do I use?

repoze.who is all the middleware you need, the question is what repoze.who 
challenger and the answer is: You can use *any* repoze.who challenger (e.g., 
BasicAuthPlugin, FormPlugin, RedirectingFormPlugin).

The only thing to keep in mind is that if you want to use a 
RedirectingFormPlugin-based challenger, your application-wide access rule must 
always grant access to authentication-related URLs.
-- 
Gustavo Narea <http://gustavonarea.net/>.

Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/

--~--~---------~--~----~------------~-------~--~----~
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