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,
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
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
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
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
-
雅虎邮箱传递新年祝福,个性贺卡送亲朋
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