Hi all,

I'm still trying to get my own AccessManager(Plugin) running ...

The howto mentioned in the previous thread [1] talks about copying simple.AccessManager to a simple.RAccessManager ... This is not the way to go in sling (since there is PluggableDefaultAccessManager), is it?

I tried the following to get just the same behaviour as is right now with the fallback to DefaultAccessManager (in order to modify it to my needs afterwards):

So I implemented AccessManagerPluginFactory and AccessManagerPlugin (by copying code from jackrabbit's DefaultAccessManager) ... but the interface methods differ from the implementation in jackrabbit(1.6) (e.g isGranted(Path absPath,...) != isGranted(String absPath,...), init!=init ).

Then I would put these 2 files in a bundle, install it and then I could start experimenting with my adaptations (allowing contents to be denied to everybody by default)

I read about the DefaultAccessManager implementation tries (SLING-880), but apart from the reaction with the PluggableDefaultAccessManager, I couldn't find any further readings how this is actually implemented.

Can anyone point me to an open project implementing AccessManagerPlugin (PluggableDefaultAccessManager) or to snippets how this is done or anything else that could give me a hint how I could go on with that?

thanks very much for your help up till now,
 thorsten

[1] http://dev.day.com/microsling/content/blogs/main/theaclisdead.html

Reply via email to