How can I change the user programatically?<br>Can I?<br><br>The process will be the same in acl_users, cookieCrumbler, ExUserFolder, isn't it?<br><br>for example: acl_users.authenticate(user_name, password)<br><br>Is this possible?
<br><br>That's my original need, but I'm not so sure if I ask properly, sorry<br><br>Thanks so much!<br><br><div><span class="gmail_quote">2007/7/6, Maciej Wisniowski <<a href="mailto:maciej.wisniowski@coig.katowice.pl">
maciej.wisniowski@coig.katowice.pl</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>> Hi, Maciej!<br>> The same problem as with CookieCrumbler or ExUserFolder: I don't understand
<br>> the process to setup the product in order to use it<br>><br>> Do you know any url o similar about how to setup and use PAS?<br>docs/ folder in PAS product :)<br><br>I don't remember exaclty how PAS looks so following
<br>description is from memory and for older PAS version<br>that I've used some time ago but should be suitable<br>in general:<br><br>You have to crate a folder you want to be secured.<br>Then you should set View permission for authenticated users
<br>only (or something like that). This is typical Zope security<br>machinery.<br><br>Then you add PAS object into secured folder - this<br>will create new 'acl_users' object.<br><br>In 'acl_users' you need to add two plugins from the list:
<br>1. Cookie.... (don't remember the name)<br>2. ZODB UserFolder<br><br>Then you have to Activate added plugins (you'll find activation<br>at properties or at 'plugins' object).<br><br>Thats all. Now, at ZODB UserFolder object you may add users
<br>just like with default acl_users.<br><br>If you take a look at interfaces.py or docs/ you'll find that<br>there are few kinds of plugins for extraction, authentication etc.<br>You may exchange some of them to suit your needs and write your own ones.
<br><br>--<br>Maciej Wisniowski<br></blockquote></div><br><br clear="all"><br>-- <br>Mis Cosas<br><a href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a>