Hello Shane, I have it working as suggested and it picks all the members I had added using the mysqlUserFolder interface, now I have to integrate this into the CMF registration and log in form. The _addUser method, is this something I have to create or can I use the existing docNewUser form provided with mysqlUserFolder? Can you expand on this. Many thanks Norman -----Original Message----- From: shane@shane.digicool.com [mailto:shane@shane.digicool.com]On Behalf Of Shane Hathaway Sent: Monday, April 23, 2001 5:21 PM To: Norman Khine Subject: Re: [Zope-CMF] mysqlUserFolder and CMF Norman Khine wrote:
Hello,
Has anyone implemented mysqlUserFolder with CMF? I am asking because I
would
like to use CMF with an existing MySQL database schema for authentication, but am finding it difficult to link the two methods / or merge the two.
From what I understand -- in my case NOT A LOT ;^( -- one can use mysqlUserFolder to authenticate and store the values/ data of the user in a MySQL database. This being the case am I right to assume that I can use my existing UserRegistration which writes to the database, form to add new users that will get registered in the CMF.
How do I alter the current acl_users folder so that it uses the acl_users (MySQL User Folder), or is there a better way to do this.
Try deleting the current acl_users and replacing it with a mysqlUserFolder. Authentication should work. The new user registration process should work if mysqlUserFolder has an "_addUser" method. Shane