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
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 to the
On Monday 29 January 2007 11:30, Alexei Ustyuzhaninov wrote:
Aha, seems that I see where is my problem. I didn't manage site through
ZMI. Is it possible to do this manipulation programmatically?
Yes, we do it only this way. The site management API is very easy. See
IComponents.
Regards,
On Monday 29 January 2007 16:06, David Johnson wrote:
Aha, seems that I see where is my problem. I didn't manage site
through ZMI. Is it possible to do this manipulation programmatically?
That I don't know. Probably. Why you would want to is another
question.
There is a lot of
I'll try. Your authenticator is registered as a Plugin in a PAU in
your current site? I'm not sure the cause without more details, but
when I see this happen I've usually neglected one of the following:
1. The credentials plugin is not selected and added.
2. The authenticator plugin is not
Hi, David!
Thank you for the help.
David Johnson пишет:
I'll try. Your authenticator is registered as a Plugin in a PAU in your
current site? I'm not sure the cause without more details, but when I
see this happen I've usually neglected one of the following:
What do you mean by Your
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 to the
authenticatorPlugins attribute of
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,