Hi,
maybe it's just (or something) ... I want to build a plain and simple form for users to authenticate ... how would I do something like that?
There are many products for Zope to make what you want: LoginManager, etcUserFolder, Generic User Folder(GUF), ... I'm using currently the last one but i don't understand at all yet. I have a form with two fields (Login and Password): <INPUT TYPE="TEXT" NAME="_gufauth_name" SIZE="20"> <INPUT TYPE="PASSWORD" NAME="_gufauth_password" SIZE="20"> and a submit button: <INPUT TYPE="SUBMIT" NAME="_gufauth_submit" VALUE="Conectar"> I think that the names of the input fields are essential for the authentication. In some DTML Methods of the GUF you must write the users, their roles and domains, and check for their passwords. I'm using to do this a database in PostgreSQL. After all, i suggest you to visit the next web page if you are going to use this product finally: http://www.zope.org/Members/hippy/GUF_SQL_crypt It is an example very good to understand and make it works. I hope this information is useful for you. Bye.
Zitiere Juan Garcia Garcia <juangar@dei.inf.uc3m.es>:
There are many products for Zope to make what you want: LoginManager, etcUserFolder, Generic User Folder(GUF), ... I'm using currently the last one but i don't understand at all yet. I have a form with two fields (Login and Password): <INPUT TYPE="TEXT" NAME="_gufauth_name" SIZE="20"> <INPUT TYPE="PASSWORD" NAME="_gufauth_password" SIZE="20"> and a submit button: <INPUT TYPE="SUBMIT" NAME="_gufauth_submit" VALUE="Conectar">
I think that the names of the input fields are essential for the authentication. In some DTML Methods of the GUF you must write the users, their roles and domains, and check for their passwords. I'm using to do this a database in PostgreSQL.
Oops ... well so far I've only used the "standard" UserFolder provided by Zope ... and actually it's working alright for me :=) (at least right now). -- Henning Eiben eiben@weite-welt.com
On Tue, 9 Oct 2001, Henning Eiben wrote:
Oops ... well so far I've only used the "standard" UserFolder provided by Zope ... and actually it's working alright for me :=) (at least right now).
I am developing a site where an user login in the system, then he can disconnect and after, login another time as other user. To do this it is needed to work with cookie-based-authentication, that is different from what you are using(standard). All the products I have talked you about are cookie based. After reading a lot of documentation i have understand that what you want to do is only possible with this method. However there are a lot of people that has asked for the same thing before you, so it's easy to find information. Bye.
participants (2)
-
Henning Eiben -
Juan Garcia Garcia