it depends what version of jackrabbit you are talking about. in jackrabbit 1.4 and previous the method is used upon Session.checkPermission.
in the trunk the AccessManager methods taking ItemId - #checkPermission(ItemId, int) and - #isGranted(ItemId, int) are marked deprecated. #checkPermission is not used any more within the code. originally it was used as shortcut for "if not granted throw exception". angela
