Hi,<br>I have finally understood HTTP authentication process: a zope.View permission is set on a page in order to trigger the Unauthorized exception.<br><br>My new difficulty is how to catch this exception :<br><br>Unauthorized: (&lt;zope.app.publisher.browser.viewmeta.LoginAddForm object at 0x922a16c&gt;, &#39;browserDefault&#39;, &#39;zope.View&#39;)<br>
<br>Thanks for your help<br>Simon<b><br></b><br><div class="gmail_quote">On Tue, May 26, 2009 at 12:22 AM, Simon Elbaz <span dir="ltr">&lt;<a href="mailto:elbazsimon9@gmail.com">elbazsimon9@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>I would like to setup authentication in an application using HTTPBasicAuthCredentialsPlugin. For that, I need to set HTTP_AUTHORIZATION environment variable.<br>
<br>How could I do that from within the add z3c.form method for example?<br>
<br>Thanks for your help<br><font color="#888888">Simon<br>
</font></blockquote></div><br>