[Zope] Doing authentification on my own
Florian Lindner
mailinglists at xgm.de
Sat Sep 27 07:47:47 EDT 2003
Hello,
I want to do authentification whithout a userfolder.
It should work like this:
The login credentials are submitted from a form to a script. This script
looks up the user data in a SQL-database and redirect to a
login-failed page if the form-data is wrong. If the form-data is right
is constructs a userObject and redirects a a loginok page or to
$destination.
Problems:
- Constructing a userObject? How to do that? How to make it clear to
Zope that this session is authentificated? Is this done with the
construction of the userObjekt?
- How to define the login-page to which Zope redirects if a anon-user
tries to access protected content? The requested URL should be passed
as a parameter ($destination) to the login-page.
Is this possible?
Thanks,
Florian
More information about the Zope
mailing list