[Zope-CMF] Understanding the login mechanism

Dario Lopez-Kästen dario at ita.chalmers.se
Wed Oct 8 07:21:28 EDT 2003


I am interested in such a beast too, and I am also interested in helping
out - we need to do some single sing on for Zope during within 6-9 months.
I've also done a bit of work on exUserFolder and it is not too hard to do
this.

For a simple UserFolder replacement too look at, I recommend looking at
SimpleUserFolder from Chris Withers, which is fairly straight forward to
follow. http://www.zope.org/Members/NIP/SimpleUserFolder  digging thru that
code you will get an understanding of what to do in your own UserFolder.

To understand what it does look at the source of Zope, particularely
lib/python/AccessControl/User which contains the UserFolder code and the
User classes that Zope utilises.

You will notice that most userfodlers subclass one of the User classes, and
so does for instance SimpleUserFolder and exUserFolder.

Hope this helps,

/dario

----- Original Message -----
From: "Gitte Wange" <gitte at mmmanager.org>
To: <zope-cmf at zope.org>
Sent: Wednesday, October 08, 2003 11:11 AM
Subject: [Zope-CMF] Understanding the login mechanism


> Hello,
>
> I'm about to make a new userfolder product that allows people to login to
a
> portal from other sites. But in order to even start-out such a thing, I
need
> to understand exactly how the login mechanism works.
>
> I have looked at the CookieCrumbler in CMF.
> I know that a user is logged-in if the __ac cookie is set.
> And a user get's logged in if the __ac_name and __ac_password variables
are
> available in the REQUEST object.
>
>  But where is the user set in the SecurityManager ??
> Maybe someone can point me to a specific place in the code to look ....
>
> --
> Gitte Wange
> Technical Manager
>
> Email: gitte at mmmanager.org
> Web: http://www.mmmanager.org
> Tlf: +45 36 46 20 02
>
> Our goal is to be the "Linux of Content Management".
> This means Open Source, it means community...
>
>     -- Paul Everitt: Zope-CMF Mailing List
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF at zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>




More information about the Zope-CMF mailing list