Re: AW: [Zope3-Users] efficiency of PAU authentication

2008-05-06 Thread nixon ni
I write some code to realize session-cache RDB authentication. RDBPluggableAuthentication is a new PAU, which works well after my testing. class RDBPluggableAuthentication(PluggableAuthentication): new session-cache PluggableAuthentication def authenticate(self,

[Zope3-Users] How to set content-coding for a browser resource?

2008-05-04 Thread nixon
Hi, dear all, I configured a reource folder, in which I dropped a gzipped javascript file. When fetching from server, it seems not to be unzipped. Is it possible to configure the content-coding for such static resource response? Or must I do it like a normal view? Thank you! Nixon

[Zope3-Users] efficiency of PAU authentication

2008-04-29 Thread nixon
number of authentication request. Is RDB based PAU efficient enough to do authentication? I have an idea of session-cache authentication: fetch credentials from RDB and cache them in session. Is this more efficient? Best Regards Nixon

Re: AW: [Zope3-Users] efficiency of PAU authentication

2008-04-29 Thread nixon
Message From: Roger Ineichen [EMAIL PROTECTED] To: nixon [EMAIL PROTECTED]; zope3-users@zope.org Sent: Wednesday, April 30, 2008 11:26:31 AM Subject: AW: [Zope3-Users] efficiency of PAU authentication Hi Nixon Betreff: [Zope3-Users] efficiency of PAU authentication Hi, dear all, PAU

[Zope3-Users] Re: How to register a local adapter?

2008-01-06 Thread nixon
ob.browserDefault(request) ForbiddenAttribute: ('browserDefault', mailnice.reglocalpage.NewFolderIndex obj ect at 0x027F8BF0) I dont know why. It seems the inherited BrowserPage.browserDefault is available. Thank you! R Nixon - 雅虎邮箱传递新年祝福,个性贺卡送亲朋

[Zope3-Users] How to register a local adapter?

2008-01-05 Thread nixon
to be invoked in runtime. But I don't know where to place it? I think it should be invoked once during startup and should not be invoked everytime I use the adapter. Thank you! Regards Nixon ___ 雅虎邮箱传递新年祝福,个性贺卡送亲朋! http