[Zope3-Users] z3c.form: Setting HTTP_AUTHORIZATION in header
Simon Elbaz
elbazsimon9 at gmail.com
Sun May 31 18:29:17 EDT 2009
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 <elbazsimon9 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20090601/a0c63afa/attachment.html
More information about the Zope3-users
mailing list