cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: authentication framework
Date Thu, 13 Mar 2003 13:46:16 GMT

Ferenc Kiraly wrote:
> 
> Carsten Ziegeler wrote:
> > The docs are a little bit out of date :)
> > So, actually it's not possible to *directly* use a class.
> > The only solution right now, is to write a custom
> > generator (= class) and put this in a sitemap pipeline
> > which is then triggered by the authentication framework.
> 
> What a shame :-(
> 
> Writing a generator was my backup plan, so I guess I will go with it.
> 
> But I think it would be much more elegant if it would be possible
> to supply a class instead of a pipeline. I suspect it would also be
> much more efficient. After the generator is finished, the output is
> serialized and then parsed. If a class could be supplied, it could
> return a Source object and we could skip the serialization (at least).
> 
Yes, an extra class with an defined interface is a better solution,
that's right.
I know, the following sentence sounds odd, but: Consider applying a
patch that provides the functionality.
:)

Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message