[Zope3-Users] Paste sending 'Authentication Required' popup

Simon Elbaz elbazsimon9 at gmail.com
Thu Jun 11 10:48:33 EDT 2009


Hi,
I am trying to set a session credentials plugins in an application. A
request on 'http://localhost:8080/' sends me to the login form as defined in
the plugin.
Whereas, a request on 'http://localhost:9030/++skin++Login/@@search.html'
triggers the 'Authentication Required' popup (realm Zope).

I have tried to debug with pdb and here are the lines just before the popup
appears:
(Pdb) r
>
/home/simon/.buildout/eggs/zope.app.wsgi-3.5.2-py2.5.egg/zope/app/wsgi/__init__.py(58)__call__()
-> response = request.response
(Pdb) r
--Return--
>
/home/simon/.buildout/eggs/zope.app.wsgi-3.5.2-py2.5.egg/zope/app/wsgi/__init__.py(71)__call__()->('',)
-> return response.consumeBodyIter()
(Pdb) r
>
/home/simon/.buildout/eggs/Paste-1.7.2-py2.5.egg/paste/httpserver.py(289)wsgi_execute()
-> try:
(Pdb) r
--Return--
>
/home/simon/.buildout/eggs/Paste-1.7.2-py2.5.egg/paste/httpserver.py(297)wsgi_execute()->None
-> result = None


browser/configure.zcml
--------------------------------

<page
      name="search.html"
      for="zope.app.folder.interfaces.IFolder"
      permission="cdcadama.View"
      layer="cdcadama.layer.ICdcadamaBrowserLayer"
      class=".login.SearchAddForm"
/>


Could someone tell me how to inhibate the HTTPBasicAuth popup ?

Thanks
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20090611/2bf26e2b/attachment.html 


More information about the Zope3-users mailing list