On Tue, Dec 29, 2009 at 4:53 PM, Ian Boston <[email protected]> wrote:
> I notice that
>
> PluggableDefaultAccessManager.isGranted(ItemId id, int permissions)
>
> bypasses some additional logic in
> DefaultAccessManager.isGranted(ItemId id, int permissions)
>
> by going direct to
> PluggableDefaultAccessManager.isGranted(Path absPath, int permissions)
>
> was that intentional, this might be as a result of the JR 1.6 upgrade. ?

I think it was "intentional" in the sense that ItemId is part of the
org.apache.jackrabbit.core package, which is not exported - thus, it
would be impossible to implement the AccessManagerPlugin interface in
other bundles, if it defined a isGranted(ItemId, int) method.
>From what I can see, the "additional logic" in
DefaultAccessManager.isGranted(ItemId, int) is merely optimization. Or
am I missing something?

-- 
Vidar S. Ramdal <[email protected]> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 21 531941, ext 2070

Reply via email to