Which login-system to use ?
Greetings Zopistas ! I have to implement a login-system for our site, pulling usernames and passwords from a database (Solid at the moment, but we'll probably move to Interbase soon). new users should be able to register through the web, without writing to data.fs. Most of the site should be accessible for anonymous users , while some sections should be restricted. Cookie based authentication is a neccessity.. I've looked around among the different userfolders on Zope.org, but it is not clear to me which one would suit us best.. GUF and LoginManager look like the way to go, but which one would be easiest to implement with those requirements ? What is the State of The LoginManager ? - is it correct that it is meant as a part of the PortalToolkit ? -Will it function separate from the PTK ?? -- Geir Bækholt web-developer/designer geirh@funcom.com http://www.funcom.com
In article <130790366046.20000512144824@funcom.com>, Geir Bækholt <geirh@funcom.com> wrote:
GUF and LoginManager look like the way to go, but which one would be easiest to implement with those requirements ?
The only User Source currently availible for LoginManager is GenericUserSource, which tries to emulate GUF. There is currently no SQLUserSource included. So, it's no easier for one vs another -- the work would be about identical (you could even copy your userAuthenticate and such methods from one to the other if you wanted to switch). LoginManager does give you extra bells and whistles, though.
What is the State of The LoginManager ? - is it correct that it is meant as a part of the PortalToolkit ? -Will it function separate from the PTK ??
Well, it was definately written with PTK's requirements in mind. However, I can assure you it works without, as the authors have not yet found time to even download PTK and play with it yet :-) Seriously, LoginManager is intended to be very flexible, and it has no dependancies at all on PTK. The only connection with PTK (and the reason it was originally included there) is that it has features PTK needs that other userfolder's don't offer. It works perfectly fine without PTK.
participants (2)
-
Geir B�kholt -
tsarna@endicor.com