Re: [Zope] UserDb, GUF, LoginManager, etc, which one?
[various folks basically suggest using UserDb and give useful tips] Okay, thanks for the suggestions, folks -- UserDb it will be, then! Regards, Martijn ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] UserDb, GUF, LoginManager, etc, which one?
On Mon, 14 Aug 2000, Martijn Faassen wrote: Hi there, What I want is an acl_users equivalent that has an SQL database backend. I want an easy to understand, easy to install solution for this that has some kind of future in Zope land. Currently I'm deploying 2.1 but that should change into 2.2 eventually. UserDb isn't developed anymore. Besides, it might not work for 2.2. (does it?) i'm using userdb on 2.2.0 and it has been smooth sailing. setup is easy. but there are several drawbacks: -password is not encrypted. -it's not maintained - probably means that it's stable. until a new version of zope changes this, of course. i've tried GUF, but decided to stick with UserDB until i really have to change. login manager, i havenot tried yet note: userdb are not installed on a fresh zope2.2.0, but upgraded from 2.1.6. but i do remember installing on a fresh zope2.2.0 and encountered no problems. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] UserDb, GUF, LoginManager, etc, which one?
At 05:58 PM 8/14/00 +0200, Martijn Faassen wrote: What I want is an acl_users equivalent that has an SQL database backend. I want an easy to understand, easy to install solution for this that has some kind of future in Zope land. Currently I'm deploying 2.1 but that should change into 2.2 eventually. Haven't needed to do this particular task myself, but I'll venture an approach. Based on code inspection rather than having a working solution, so take it with a grain of salt. If I were looking at this, I'd consider coding a specific solution right in Python. Not try to make it generic, through-the-web, or customizable, but something very simple does the specific job of looking up users directly from your particular database. Take a look at the interface in AccessControl/User.py, you'll see it's straightforward. I'd try creating my own user folder class which subclasses from BasicUserFolder just like UserFolder does. When asked for a user, such as by a getUser() method call, I'd try returning a SimpleUser object with the fields filled in from my database. Andrew ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )