[Zope] Authenticate users using a already defined Mysql-Database

Chris Withers chrisw@nipltd.com
Wed, 13 Nov 2002 13:53:29 +0000


andy toenz wrote:
> 
> table users;
> | uid | username | password | surname | firstname |
> 
> This means, that Zope gets the username from that table and authenticates it using the password in this table.
> It's a bad idea to change the current database-structure, because there exist many foreign-keys that refers to 'uid' etc.
> 
> Any ideas ?

You want SimpleUserFolder ;-)
http://www.zope.org/Members/NIP/SimpleUserFolder/

You should be able to get exactly what you want by writing one or two ZSQL methods.

I know, I've done it! If you get any problems, mail the list and I'll answer 'em 
  :-)

Chris