Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 34079 invoked from network); 9 Oct 2008 08:17:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2008 08:17:02 -0000 Received: (qmail 45169 invoked by uid 500); 9 Oct 2008 08:17:00 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 45133 invoked by uid 500); 9 Oct 2008 08:17:00 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 45122 invoked by uid 99); 9 Oct 2008 08:17:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2008 01:17:00 -0700 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_SECURITYSAGE,HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of 1111software@gmail.com designates 209.85.198.235 as permitted sender) Received: from [209.85.198.235] (HELO rv-out-0506.google.com) (209.85.198.235) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2008 08:15:55 +0000 Received: by rv-out-0506.google.com with SMTP id k40so4715739rvb.31 for ; Thu, 09 Oct 2008 01:16:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=/oi1J85L3ehIajAB584HfaeAPBKvdyMfrzMUoEnLdK0=; b=BXPownOGGGp/ha/08AE3zgIGhe8CyTSuhFQAdo4rLeRdutWOeKVNnaGM8qhqR3shLE Ut8u1b6OoXwTPtXz1ldc93Fm9+Jemz4U1KLPAt0DdFWUEzO4w6Koq0kP/j0Hb5qTV/Mv I82X8d6OBcPLPdapmRlb353uwANQCDhLk6pds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=FN64un6ngpsMq6sm3iW8X8oQFlI7a8PpHgiLiWKx7E79pP9SGP4RI00IL1Wtuam89M gy1H9j+ST4w/5/kkOgOlexhJO5BSpjU1zdSGYz4PiXyCJW0V4pMosZzmz/RtXEC3d8JN 173BtESwi8l4w7f2ASCxaih7Sn4EneZroZyy4= Received: by 10.141.142.15 with SMTP id u15mr5919240rvn.51.1223540181336; Thu, 09 Oct 2008 01:16:21 -0700 (PDT) Received: by 10.141.27.2 with HTTP; Thu, 9 Oct 2008 01:16:21 -0700 (PDT) Message-ID: Date: Thu, 9 Oct 2008 10:16:21 +0200 From: "Jacco van Weert" <1111software@gmail.com> To: dev@jackrabbit.apache.org Subject: Re: AccessManager- checkPermissions method In-Reply-To: <19880715.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_107169_6619645.1223540181332" References: <19880715.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_107169_6619645.1223540181332 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I have also created an own AccessManager implementation ( http://jecars.cvs.sourceforge.net/viewvc/jecars/jecars_main/src/org/jecars/CARS_AccessManager.java?revision=1.18&view=markup ) I didn't implemented the checkPermission() method and until now I see no difference in the wanted behaviour. I think the isGranted() method is the main method. Greetings, Jacco On Wed, Oct 8, 2008 at 5:05 PM, pkrishna wrote: > > I am exploring the possibility of providing node-level authorization for > READ, WRITE, REMOVE and ADD actions. Based on the many postings, I was able > to gather that I have to extend SimpleAccessManager and override > checkPermissions method that implements our domain-specific code. I > examined > SimpleAccessManager and other samples I was able to get at from the forum. > I > couldn't see the parameter ItemId being used anywhere. > > Do we have any examples how ItemId is used within the checkPermission > method? > -- > View this message in context: > http://www.nabble.com/AccessManager--checkPermissions-method-tp19880715p19880715.html > Sent from the Jackrabbit - Dev mailing list archive at Nabble.com. > > -- ------------------------------------- Jacco van Weert -- 1111software@gmail.com JCR Controller -- http://www.xs4all.nl/~weertj/jcr JeCARS -- http://jecars.sourceforge.net ------=_Part_107169_6619645.1223540181332--