<div id="RTEContent">Thanks Dominik and Alec for your inputs.&nbsp; Now I implement the  authentication adapter using browser cookies with customized form and  it works.<br>    <br>    But I'm having another trouble. We use ldap authentication to store the  user information.&nbsp; How could that work with cookies to do login and  logout?&nbsp; ls there any example or reference materials available? I am  pretty new in this area, any information will be very much helpful. <br>  <br>  Jane<br><br><b><i>Dominik Huber &lt;dominik.huber@perse.ch&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">  The global PrincipalRegistry does not provide any logout mechanism <br>(regular principals registered within zcml).<br><br>The PAU provides the logout mechanism invoking the configured credential <br>plugin. One simple way to get the logout mechanism is to use the <br>'Session Credentials'-plugin. (The basic
 HTTPBasicAuthCredentialsPlugin <br>does not provide logout mechansim.).<br><br>Don't forget to register the following adapter within your overrides.zcml:<br>  <adapter =""><br>      factory="zope.app.security.LogoutSupported"<br>      /&gt;<br><br>Regards,<br>Dominik<br><br>Alec Munro wrote:<br><br>&gt;Hi Jane,<br>&gt;<br>&gt;I'm not an expert, but having run into a similar situation myself, you<br>&gt;may be out of luck. The HTTP Auth (what generates the popup window) is<br>&gt;almost entirely separate from other browser functionality, and once<br>&gt;the authentication is complete, I don't know of any way you could<br>&gt;access the password. It's possible that you could create a custom<br>&gt;authentication method that combined Basic HTTP with cookie based<br>&gt;Authentication, but it might be simpler to setup a login form for your<br>&gt;users, if that's an option, and use the standard cookie based auth.<br>&gt;<br>&gt;Actually, a third option might be to use the Basic HTTP
 auth, and then<br>&gt;use request.principal to lookup the actual principal information,<br>&gt;including login and password. I believe Zope is currently storing<br>&gt;passwords plain text, so this might work for your purposes. This seems<br>&gt;rather unclean to me, but it might get the job done.<br>&gt;<br>&gt;As I said, I am not an expert, but I hope this is at least somewhat helpful.<br>&gt;<br>&gt;Alec Munro<br>&gt;<br>&gt;On 12/6/05, Jing Song <janejsong @yahoo.com=""> wrote:<br>&gt;  <br>&gt;<br>&gt;&gt;Hi,<br>&gt;&gt;<br>&gt;&gt;I have problems to implement my zope logout feature. Since the Basic HTTP<br>&gt;&gt;Authentication does not funcition properly, I'm trying to work around by<br>&gt;&gt;using Philipp's cookie based authentication solution showing in the<br>&gt;&gt;Worldcookery example. But if I only use the default pop-up login window<br>&gt;&gt;without using a customized login form, how could I get the user name and the<br>&gt;&gt;password to set the cookie so that
 the logout can also function.<br>&gt;&gt;<br>&gt;&gt;Any idea or example would be very much appreciated. Thank you in advance!<br>&gt;&gt;<br>&gt;&gt;Jane<br>&gt;&gt;<br>&gt;&gt; ________________________________<br>&gt;&gt; Yahoo! Personals<br>&gt;&gt; Let fate take it's course directly to your email.<br>&gt;&gt; See who's waiting for you Yahoo! Personals<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;_______________________________________________<br>&gt;&gt;Zope3-users mailing list<br>&gt;&gt;Zope3-users@zope.org<br>&gt;&gt;http://mail.zope.org/mailman/listinfo/zope3-users<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;    <br>&gt;&gt;<br>&gt;_______________________________________________<br>&gt;Zope3-users mailing list<br>&gt;Zope3-users@zope.org<br>&gt;http://mail.zope.org/mailman/listinfo/zope3-users<br>&gt;  <br>&gt;<br><br><br>-- <br>Dominik Huber<br><br>Perse Engineering GmbH<br>Jurastrasse 9a<br>CH-5406 Baden<br>              <br>E-Mail: dominik.huber@perse.ch<br>Telefon: ++41 56 534
 7730<br><br>begin:vcard<br>fn:Dominik Huber<br>n:Huber;Dominik<br>email;internet:dominik.huber@perse.ch<br>tel;work:++41 56 534 77 30<br>x-mozilla-html:FALSE<br>version:2.1<br>end:vcard<br><br></janejsong></adapter></blockquote><br></div><p>
        
                <hr size=1>Yahoo! Shopping<br> 
Find Great Deals on Gifts at <a href="http://shopping.yahoo.com/;_ylc=X3oDMTE2bzVzaHJtBF9TAzk1OTQ5NjM2BHNlYwNtYWlsdGFnBHNsawNob2xpZGF5LTA1 
">Yahoo! Shopping</a>