Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

auto login user

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


garry at schoolteachers

Apr 30, 2009, 4:14 AM

Post #1 of 3 (1177 views)
Permalink
auto login user

How could I automatically/programmatically log in an existing user when anyone
visits a zope site? I am doing this because I want to demo an application on
the web without needing a login. I am using an authenticated user in the
application to retrieve data from a database that is specific to that user.
Regards
Garry
_______________________________________________
Zope maillist - Zope [at] zope
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


lukesh at seznam

Apr 30, 2009, 4:31 AM

Post #2 of 3 (1055 views)
Permalink
Re: auto login user [In reply to]

use proxy role

----- Original Message -----
From: <garry [at] schoolteachers>


> How could I automatically/programmatically log in an existing user when
> anyone
> visits a zope site? I am doing this because I want to demo an application
> on
> the web without needing a login. I am using an authenticated user in the
> application to retrieve data from a database that is specific to that
> user.

_______________________________________________
Zope maillist - Zope [at] zope
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


dev101 at magma

Apr 30, 2009, 4:49 AM

Post #3 of 3 (1054 views)
Permalink
Re: auto login user [In reply to]

If you are using a form-processor routine (ie. some routine which examines
login id/pwd entered by user on a form), then you could send the "demo-ee" a
link, which contains the id/pwd as url parameters, and directly calls the
form processor routine.


----- Original Message -----
From: <garry [at] schoolteachers>
To: <zope [at] zope>
Sent: Thursday, April 30, 2009 7:14 AM
Subject: [Zope] auto login user


> How could I automatically/programmatically log in an existing user when
> anyone
> visits a zope site? I am doing this because I want to demo an application
> on
> the web without needing a login. I am using an authenticated user in the
> application to retrieve data from a database that is specific to that
> user.
> Regards
> Garry
> _______________________________________________
> Zope maillist - Zope [at] zope
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.12.8/2086 - Release Date: 04/29/09
06:37:00

_______________________________________________
Zope maillist - Zope [at] zope
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.