[Zope-PAS] Checked in the Challenge implementation.
tino at wildenhain.de
Mon Sep 27 08:13:28 EDT 2004
On Mon, 2004-09-27 at 14:03, Lennart Regebro wrote:
> Tino Wildenhain wrote:
> > Well I think it would make developement of challenge
> > plugins more easy and straigt forward instead of
> > having to call obscure interfaces.
> But then you would have both the obscure interface of response, as well
> as the obscure interface of challenge() to cope with.
well unless challenge() has a nice abstraction of
the scribbling on setBody and friends :-)
> It increases complecity, but adds no functionality.
> > If returning 1 means The plugin set a body
> > how to proceed with other plugins that
> > come after it? Will they be called?
> No. The 1 means "do not continue with other plugins".
which reason should drive a plugin to not allow
other plugins? How should it know following
plugins would just set some headers and are
So user have to know and arrange all friendly
plugins to be called before the 1 - setting one?
And if they want to combine several plugins
which each return 1 for some reason the auther
finds apropriate? I expect a lot of headaches
when people try to work this out :)
More information about the Zope-PAS