Hello, I just checked and indeed the isGranted() is decrepated.... I am using the latest 1.4.6 version. In this version isGranted( ItemId, int ) is still used, but also isGranted( Path, .... )? so I could make a smooth transition?
Are there other "tips" regarding the AccessManager, my experience is that the AccessManager implementation is extremly important for performance reasons. Gr, Jacco On Thu, Oct 9, 2008 at 10:50 AM, Angela Schreiber <[EMAIL PROTECTED]> wrote: > 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 > -- ------------------------------------- Jacco van Weert -- [EMAIL PROTECTED] JCR Controller -- http://www.xs4all.nl/~weertj/jcr JeCARS -- http://jecars.sourceforge.net
