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
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to