2009/5/6 Bertrand Delacretaz <bdelacre...@apache.org>:

> In an ideal world, I think it should be possible to use separate
> bundles to provide classes for all elements of the repository.xml
> configuration that have a "class" attribute.

Hear, hear!

> [...]
> Could people give a quick description of their use cases that require
> customizing these things? Please also briefly indicate if/how that
> works now.

I need some custom AccessManager logic, therefore I created the
PluggableAccessManager, see SLING-880 [1]. This patch provides an
interface that can be implemented by custom bundles. The interface is
really a simplified version of AccessManager.
This again was inspired by a tip from Rory Douglas [2], who pointed me
to PluggableDefaultLoginModule.

The PluggableAccessManager works for me, but being able to plugin a
"real" Jackrabbit AccessManager, would sure be nice. It would also be
useful if DefaultAccessManager could be exported, as it is much easier
to override certain methods in that, than to implement the interface
from scratch.

[1] https://issues.apache.org/jira/browse/SLING-880
[2] http://markmail.org/thread/wlqm3yjpbyokwcvy

-- 
Vidar S. Ramdal <vi...@idium.no> - http://www.idium.no
Akersgata 16, N-0158 Oslo, Norway
+47 21 531941, ext 2070

Reply via email to