Re: [Zope3-Users] Pluggable authentication, a newbie's question

2007-02-01 Thread Alexei Ustyuzhaninov
Stephan Richter пишет: On Sunday 28 January 2007 11:44, Alexei Ustyuzhaninov wrote: This code is contained in the file mypackage/__init__.py, mypackage in turn is loaded via ZCML. This is bad form. You should have that code in another module. Both plugins and PAU are registered successfully

Re: [Zope3-Users] Pluggable authentication, a newbie's question

2007-01-30 Thread Alexei Ustyuzhaninov
David Johnson пишет: On Jan 29, 2007, at 5:30 PM, Alexei Ustyuzhaninov wrote: David Johnson пишет: What do you mean by Your authenticator is registered as a Plugin in a PAU in your current site? I registered the authenticator as a utility and assigned the utility name

Re: [Zope3-Users] Pluggable authentication, a newbie's question

2007-01-29 Thread Alexei Ustyuzhaninov
). -- David On Jan 28, 2007, at 5:44 PM, Alexei Ustyuzhaninov wrote: Hello, I try to create a plugin, which could authenticate users against an external database. Here is the code: from zope.component import provideUtility from zope.app.authentication import PluggableAuthentication from

[Zope3-Users] Pluggable authentication, a newbie's question

2007-01-28 Thread Alexei Ustyuzhaninov
Hello, I try to create a plugin, which could authenticate users against an external database. Here is the code: from zope.component import provideUtility from zope.app.authentication import PluggableAuthentication from zope.app.authentication.interfaces import\ ICredentialsPlugin,