[Zope-dev] Authenticating with acl_users

Jens Vagelpohl jens@zope.com
Sat, 8 Mar 2003 12:15:47 -0500


what exactly is it you are trying to achieve? maybe someone can help if=20=

you let us know what the real motivation is.

jens


On Saturday, Mar 8, 2003, at 11:42 US/Eastern, Sondre R=F8njom wrote:

> Ive been looking through AccessControl/User.py to understand the
> validate() methods paramteres. Im not sure what to put inside the=20
> request,
> and how to do it. I have been testing around, but I can only manage to=20=

> do
> authenticate(), but this only tells if the user is valid and has the=20=

> right
> password. The thing is, I also want to set AUTHENTICATED_USER, but not
> sure how to to this, but I have the idea validate() does all this for=20=

> you,
> if you pass the right parameters. I have been searching at zope.org =
and
> google.com for a long time now, but cant find very much useful. The=20
> only
> parameters I have put in the REQUEST are __ac_user and __ac_password,=20=

> but
> I know I also need object value and physical container of the object,=20=

> but
> dont know how to find this.
>
> /Sondre