How can I change the user programatically?<br>Can I?<br><br>The process will be the same in acl_users, cookieCrumbler, ExUserFolder, isn&#39;t it?<br><br>for example: acl_users.authenticate(user_name, password)<br><br>Is this possible?
<br><br>That&#39;s my original need, but I&#39;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 &lt;<a href="mailto:maciej.wisniowski@coig.katowice.pl">
maciej.wisniowski@coig.katowice.pl</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&gt; Hi, Maciej!<br>&gt; The same problem as with CookieCrumbler or ExUserFolder: I don&#39;t understand
<br>&gt; the process to setup the product in order to use it<br>&gt;<br>&gt; Do you know any url o similar about how to setup and use PAS?<br>docs/ folder in PAS product :)<br><br>I don&#39;t remember exaclty how PAS looks so following
<br>description is from memory and for older PAS version<br>that I&#39;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 &#39;acl_users&#39; object.<br><br>In &#39;acl_users&#39; you need to add two plugins from the list:
<br>1. Cookie.... (don&#39;t remember the name)<br>2. ZODB UserFolder<br><br>Then you have to Activate added plugins (you&#39;ll find activation<br>at properties or at &#39;plugins&#39; 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&#39;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>