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

Hedley Roos hedley@ise.co.za
Wed, 13 Nov 2002 11:28:59 +0200


I do that with LoginManager. There is an example somewhere on zope.org.

However it seems as if LoginManager has fallen out of favour, so you might
consider other alternatives.

Hedley

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of andy
toenz
Sent: 13 November 2002 11:10
To: zope@zope.org
Subject: [Zope] Authenticate users using a already defined
Mysql-Database


Hi,

wanna migrate my web-project from an proprietary sql-based solution to a
zope-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-Database into Zope.
I've seen projects like mysqlUserFolders but these have another
table-structure.

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

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 ?
________________________________________________________________
Viren? Wir wissen nicht was Ihr Arzt empfiehlt. Wir empfehlen den
Virencheck für Dateianhänge! http://freemail.web.de/features/?mc=021159



_______________________________________________
Zope maillist  -  Zope@zope.org
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 )