jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: AccessManager- checkPermissions method
Date Thu, 09 Oct 2008 08:50:05 GMT
it depends what version of jackrabbit you are talking
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".


View raw message