[Zope] Logon process
Garito
garito at sistes.net
Sat Jul 7 06:29:43 EDT 2007
I try context.acl_users.authenticate(user, pass, request) but this doesn't
change the session user, isn't it?
Can I change the logged user in the session in any way?
Thanks!
2007/7/7, Garito <garito at sistes.net>:
>
> Sure? I'll try then
>
> Thank you so much!!!
>
> 2007/7/7, Andrew Milton <akm at theinternet.com.au>:
> >
> > +-------[ Garito ]----------------------
> > | How can I change the user programatically?
> > | Can I?
> > |
> > | The process will be the same in acl_users, cookieCrumbler,
> > ExUserFolder, isn't
> > | it?
> > |
> > | for example: acl_users.authenticate(user_name, password)
> > |
> > | Is this possible?
> > |
> > | That's my original need, but I'm not so sure if I ask properly, sorry
> >
> > That is exactly how to do it with exUserFolder.
> > It will return a new user object, or None if the authentication failed.
> >
> > --
> > Andrew Milton
> > akm at theinternet.com.au
> >
>
>
>
> --
> Mis Cosas
> http://blogs.sistes.net/Garito
>
--
Mis Cosas
http://blogs.sistes.net/Garito
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070707/10835c51/attachment.htm
More information about the Zope
mailing list