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

andy toenz zyta2002@web.de
Wed, 13 Nov 2002 10:10:29 +0100


Hi,

wanna migrate my web-project from an proprietary sql-based solution to a z=
ope-project, because I see many benefits and pro's from zope.

But I've the problem that I have to migrate about 200 users from my SQL-Da=
tabase into Zope.
I've seen projects like mysqlUserFolders but these have another table-stru=
cture.

So my question:
Is there an easy way to authenticate via Zope using my own database/tables=
 =3F

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 ex=
ist many foreign-keys that refers to 'uid' etc.

Any ideas =3F
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Viren=3F Wir wissen nicht was Ihr Arzt empfiehlt. Wir empfehlen den
Virencheck f=FCr Dateianh=E4nge! http://freemail.web.de/features/=3Fmc=3D021159