Ivan Raikov wrote:
Recently, I had to replace ZPublisher's default authentication scheme, as part of a product I'm working on. I am aware of the existence of LoginManager, exUserFolder, etc., but in this case I needed to have a custom login screen at root level, i.e. completely get rid of the basic HTTP authentication and browser popup window.
So I replaced some of the HTTPRequest and HTTPResponse methods in order to present the user an HTML form whenever an 'Unauthorized' exception is raised.
While I'm sure such an issue has arisen hundreds of times, somehow I was unable to find a product or a How-To that specifically addresses it, which means either I don't know how to browse the Web, or nobody has bothered to document their knowledge in the area.
Try either CookieCrumbler or CMF (which includes the cookie crumbler). You probably weren't able to find it simply because of the large number of products out there with overlapping capabilities and varying degrees of completeness. http://www.zope.org/Members/hathawsh/CookieCrumbler Shane