Vedr. Re: [Zope3-Users] Authentication howto

2007-06-15 Thread Torvald Bringsvor
Thanks guys. I'm now back to liking the framework again :-)) -Torvald --- Baiju M [EMAIL PROTECTED] skrev: Christophe Combelles wrote: Since this is the third time I see this question, I've pasted it on the FAQ.

Re: [Zope3-Users] Authentication howto

2007-06-14 Thread Baiju M
Christophe Combelles wrote: Since this is the third time I see this question, I've pasted it on the FAQ. http://wiki.zope.org/zope3/FAQ#i-want-to-quickly-setup-authentication-with-users-and-permissions Feel free to review and correct what I wrote I have just changed the question :

Re: [Zope3-Users] Authentication howto

2007-06-12 Thread Nando Quintana
Hi Torvald, I recommend you Philips,s zope3 book and specialy the security charpters that explain the zope3 auth mechanics widely. Here you are some notes about how to implement a user management system... 1) First of all you have to create and register a PAU Utillity in your siteManager. Read

Re: Vedr. Re: [Zope3-Users] Authentication howto

2007-06-12 Thread Nando Quintana
Hi, I've uploaded you another piece of code: kelpi.com/script/c880ba There you have a view to handle login action. when auth is required zope redirects you to /loginForm.html I redirect then to /login where I prompt the user asking for user/pass. In this zcml: kelpi.com/script/fa9196 you can

Re: Vedr. Re: [Zope3-Users] Authentication howto

2007-06-12 Thread Christophe Combelles
I didn't know kelpi.com, that's a nice example of zope3 app !! I guess this hasn't been online for a long time? I've quickly looked at the code, and I have a question: what's the purpose of MyIntIds compared to the base IntIds? Is this some optimisation? Christophe Nando Quintana a écrit :

[Zope3-Users] Authentication howto

2007-06-11 Thread Torvald Bringsvor
Hi I'm a Zope newbie (kind of), and I've read the von Weitershausen book. However I'm having trouble following the authentication stuff. My situation: I need a kind of teaspoon HOWTO on how to add authentication to the application I'm writing. I want show unauthenticated users a simple

Re: [Zope3-Users] Authentication howto

2007-06-11 Thread Christophe Combelles
The first and simple way to add authentication and users via the ZMI is the following : - go to the site manager (in the root, or in your folder/site) - add a Pluggable Authentication Utility (name as you want, prefix empty) - enter it - activate no challenge if auth and session credentials in