AW: [Zope] Authenticate users using a already defined Mysql-Database
Dieter Fischer
dieter.fischer@grid-it.ch
Wed, 13 Nov 2002 10:30:15 +0100
Hello Andy
Use exUserFolder (http://www.zope.org/Members/TheJester/exUserFolder). Th=
ere
you can exactly do what you like to do, using your existing table structu=
re.
Regards
Dieter
>-----Urspr=FCngliche Nachricht-----
>Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von andy
>toenz
>Gesendet am: Mittwoch, 13. November 2002 10:10
>An: zope@zope.org
>Betreff: [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=FCr Dateianh=E4nge! http://freemail.web.de/features/?mc=3D0=
21159
>
>
>
>_______________________________________________
>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 )
>