Re: [Zope] login with a login page [Q]
Hello.. Thanks.. I have downloaded and installed it on a temporary folder. Now I am trying to make it work, but I have an annoying problem... Our user tables are "splitted" -some designer would say normalized (i presume that is the translation in english)- ;-) and I cannot insert user data over one ZSQL method. Anyone has some other way to insert data for the UserDB "sqlAddQuery" method? TIA /B Bruno Mattarollo <brunomadv@ciudad.com.ar> --- Python Powered <http://www.python.org/psa/> ----- Original Message ----- From: Otto Hammersmith <otto@ipass.net> To: <brunomadv@ciudad.com.ar>; <zope@zope.org> Sent: Wednesday, November 17, 1999 12:15 PM Subject: Re: [Zope] login with a login page [Q] Go for UserDB. It will do exactly what you need and is stable. :) Un-maintained doesn't necessarilly mean "defunct and broken"... most times in the open source community, it means "feature complete and stable". Basically, no one has felt the need to add features and there are no serious bugs (if there were, I'm sure someone would step up and fix it). (On the features front... I'm not saying UserDB is the end all be all of a User Folder product, check out http://www.zope.org/Members/Zen/GenericUserFolder/. :) -Otto. -----Original Message----- From: Bruno Mattarollo brunomadv@ciudad.com.ar Sent: Wed, 17 Nov 1999 11:59:23 -0300 To: zope@zope.org Subject: [Zope] login with a login page [Q] Hello. Even if the subject may seem funny, it's a real question... :-) I am trying to develop a login page to a site we are developing. I don't want to be prompted with a pop-up window, I just want to user to view a form and write there the user and password and press "Login" as in the Member login page from the Zope.Org site. Does anyone can give me a hint on how to do that? Our user data will be stored in an RDBM database (Oracle8i). I saw the UserDB product. But apparently it's no longer maintained. The functionality is to bring areas for members and areas for anonymous users. Thanks in advance. ______________________________________________________________________ Get Visto.com! Private groups, event calendars, email, and much more. Visto.com. Life on the Dot. Check it out @ http://www.visto.com/info
The recently released GenericUserFolder should be ableto do what you need. It allows calling a dtml method for authentication and such. That dtml method could call as many ZSQL methods as are needed to accomplish your objective. (Being paranoid I keep my passwords encrypted in a separate table) __________________________________________________________________ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \ Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: jsanford@atinucleus.com Web: http://www.atinucleus.com Source Code, No Royalties, Any CPU...It just make sense ! __________________________________________________________________ ----- Original Message ----- From: Bruno Mattarollo <brunomadv@ciudad.com.ar> To: <otto@ipass.net>; <zope@zope.org> Sent: Wednesday, November 17, 1999 12:20 PM Subject: Re: [Zope] login with a login page [Q]
Hello..
Thanks..
I have downloaded and installed it on a temporary folder. Now I am trying to make it work, but I have an annoying problem... Our user tables are "splitted" -some designer would say normalized (i presume that is the translation in english)- ;-) and I cannot insert user data over one ZSQL method. Anyone has some other way to insert data for the UserDB "sqlAddQuery" method?
TIA
/B
Bruno Mattarollo <brunomadv@ciudad.com.ar> --- Python Powered <http://www.python.org/psa/> ----- Original Message ----- From: Otto Hammersmith <otto@ipass.net> To: <brunomadv@ciudad.com.ar>; <zope@zope.org> Sent: Wednesday, November 17, 1999 12:15 PM Subject: Re: [Zope] login with a login page [Q]
Go for UserDB. It will do exactly what you need and is stable. :)
Un-maintained doesn't necessarilly mean "defunct and broken"... most times in the open source community, it means "feature complete and stable". Basically, no one has felt the need to add features and there are no serious bugs (if there were, I'm sure someone would step up and fix it).
(On the features front... I'm not saying UserDB is the end all be all of a User Folder product, check out http://www.zope.org/Members/Zen/GenericUserFolder/. :)
-Otto.
-----Original Message----- From: Bruno Mattarollo brunomadv@ciudad.com.ar Sent: Wed, 17 Nov 1999 11:59:23 -0300 To: zope@zope.org Subject: [Zope] login with a login page [Q]
Hello.
Even if the subject may seem funny, it's a real question... :-)
I am trying to develop a login page to a site we are developing. I don't want to be prompted with a pop-up window, I just want to user to view a form and write there the user and password and press "Login" as in the Member login page from the Zope.Org site. Does anyone can give me a hint on how to do that? Our user data will be stored in an RDBM database (Oracle8i). I saw the UserDB product. But apparently it's no longer maintained. The functionality is to bring areas for members and areas for anonymous users.
Thanks in advance.
______________________________________________________________________ Get Visto.com! Private groups, event calendars, email, and much more. Visto.com. Life on the Dot. Check it out @ http://www.visto.com/info
_______________________________________________ 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 )
Hi I am also trying the GenericUserFolder but I am having a hard time setting this up... I installed the GenericUserFolder in a temporary folder and removed all the acquire permissions checks from the "security" tab of the acl_users. I configured this to use the cookie based authentication. I am just trying to use the default users that comes with the GUF. I cannot make this to show me the login screen when accesing the temporary folder. I had also tryed setting up some ZSQL methods that queryied the database to reproduce all the DTML methods that were in the acl_users folder. I changed those methods and tryed the ZSQL to check that they returned the correct values. But then I got always the "authorization failed" even when using the correct user/password. How show I set this product to meet my need? Thanks a lot... :-) /B Bruno Mattarollo <brunomadv@ciudad.com.ar> --- Python Powered <http://www.python.org/psa/> ----- Original Message ----- From: Jim Sanford <jsanford@atinucleus.com> To: Bruno Mattarollo <brunomadv@ciudad.com.ar>; <zope@zope.org> Sent: Wednesday, November 17, 1999 3:40 PM Subject: Re: [Zope] login with a login page [Q]
The recently released GenericUserFolder should be ableto do what you need. It allows calling a dtml method for authentication and such. That dtml method could call as many ZSQL methods as are needed to accomplish your objective. (Being paranoid I keep my passwords encrypted in a separate table) __________________________________________________________________
Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \ Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: jsanford@atinucleus.com Web: http://www.atinucleus.com
Source Code, No Royalties, Any CPU...It just make sense ! __________________________________________________________________
----- Original Message ----- From: Bruno Mattarollo <brunomadv@ciudad.com.ar> To: <otto@ipass.net>; <zope@zope.org> Sent: Wednesday, November 17, 1999 12:20 PM Subject: Re: [Zope] login with a login page [Q]
Hello..
Thanks..
I have downloaded and installed it on a temporary folder. Now I am trying to make it work, but I have an annoying problem... Our user tables are "splitted" -some designer would say normalized (i presume that is the translation in english)- ;-) and I cannot insert user data over one ZSQL method. Anyone has some other way to insert data for the UserDB "sqlAddQuery" method?
TIA
/B
Bruno Mattarollo <brunomadv@ciudad.com.ar> --- Python Powered <http://www.python.org/psa/> ----- Original Message ----- From: Otto Hammersmith <otto@ipass.net> To: <brunomadv@ciudad.com.ar>; <zope@zope.org> Sent: Wednesday, November 17, 1999 12:15 PM Subject: Re: [Zope] login with a login page [Q]
Go for UserDB. It will do exactly what you need and is stable. :)
Un-maintained doesn't necessarilly mean "defunct and broken"... most times in the open source community, it means "feature complete and stable". Basically, no one has felt the need to add features and there are no serious bugs (if there were, I'm sure someone would step up and fix it).
(On the features front... I'm not saying UserDB is the end all be all of a User Folder product, check out http://www.zope.org/Members/Zen/GenericUserFolder/. :)
-Otto.
-----Original Message----- From: Bruno Mattarollo brunomadv@ciudad.com.ar Sent: Wed, 17 Nov 1999 11:59:23 -0300 To: zope@zope.org Subject: [Zope] login with a login page [Q]
Hello.
Even if the subject may seem funny, it's a real question... :-)
I am trying to develop a login page to a site we are developing. I don't want to be prompted with a pop-up window, I just want to user to view a form and write there the user and password and press "Login" as in the Member login page from the Zope.Org site. Does anyone can give me a hint on how to do that? Our user data will be stored in an RDBM database (Oracle8i). I saw the UserDB product. But apparently it's no longer maintained. The functionality is to bring areas for members and areas for anonymous users.
Thanks in advance.
______________________________________________________________________ Get Visto.com! Private groups, event calendars, email, and much more. Visto.com. Life on the Dot. Check it out @ http://www.visto.com/info
_______________________________________________ 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 )
_______________________________________________ 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 )
In Zope Classic there is a Calendar product, which, essentially, creates a nice calendar with a calendar DTML tag. Cool. The instructions specify setting certain attributes with the Calendar tag. I tried all the various syntax setting from teh DTML reference, yet none will work at all. Can someone help out here, ad possibly provide some hints as to the proper syntax? The calendar rendering tag product can be found at: http://classic.zope.org:8080/Download/Contrib/Calendar-0.9.0.tar.gz And it's written by tsarna@endicor.com (who did TinyTable as well), and, yes, I've written him, and so far have received no answer. Harry
On Wed, 17 Nov 1999, Bruno Mattarollo wrote:
I installed the GenericUserFolder in a temporary folder and removed all the acquire permissions checks from the "security" tab of the acl_users. I configured this to use the cookie based authentication. I am just trying to use the default users that comes with the GUF. I cannot make this to show me the login screen when accesing the temporary folder.
Are your still logged in as the administrator account that created the GUF? I should document this - BasicAuthentication information can never be expired.
I had also tryed setting up some ZSQL methods that queryied the database to reproduce all the DTML methods that were in the acl_users folder. I changed those methods and tryed the ZSQL to check that they returned the correct values. But then I got always the "authorization failed" even when using the correct user/password.
Are you calling the ZSQL methods from a DTML method, or did you replace the DTML method with a ZSQL method with the same name? If the latter, this is documented in the README tab in the controlpanel/Products/GenericUserFolder. Did you give the DTML method a proxy role with access to the ZSQL method (also in the README). Let me know how you go - note that this is prerelease code. I announced it to zope-dev yesterday and its already being offered up on the main mailing list :-) -- ___ // Zen (alias Stuart Bishop) Work: zen@cs.rmit.edu.au // E N Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au //__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen
On Wed, Nov 17, 1999 at 03:20:36PM -0300, Bruno Mattarollo wrote:
Hello..
Thanks..
I have downloaded and installed it on a temporary folder. Now I am trying to make it work, but I have an annoying problem... Our user tables are "splitted" -some designer would say normalized (i presume that is the translation in english)- ;-) and I cannot insert user data over one ZSQL method. Anyone has some other way to insert data for the UserDB "sqlAddQuery" method?
I think what you're missing is the sql_delimiter variable. That'll let you do more than one SQL query inside a ZSQL method. The only restriction is that only one of the SQL queries can be a SELECT: i.e. return anything. Used as so: UPDATE some_table SET some_field = <dtml-var some_value> WHERE some_other_field = <dtml-var some_other_value> <dtml-var sql-delimiter> UPDATE some_other_table SET some_field = <dtml-var some_value> WHERE some_other_field = <dtml-var some_other_value> HTH, Ross -- Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005
participants (5)
-
Bruno Mattarollo -
Harry -
Jim Sanford -
Ross J. Reedstrom -
Stuart 'Zen' Bishop