Hi,
I have finally understood HTTP authentication process: a zope.View
permission is set on a page in order to trigger the Unauthorized exception.

My new difficulty is how to catch this exception :

Unauthorized: (<zope.app.publisher.browser.viewmeta.LoginAddForm object at
0x922a16c>, 'browserDefault', 'zope.View')

Thanks for your help
Simon*
*
On Tue, May 26, 2009 at 12:22 AM, Simon Elbaz <elbazsim...@gmail.com> wrote:

> Hi,
> I would like to setup authentication in an application using
> HTTPBasicAuthCredentialsPlugin. For that, I need to set HTTP_AUTHORIZATION
> environment variable.
>
> How could I do that from within the add z3c.form method for example?
>
> Thanks for your help
> Simon
>
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to