Return-Path: Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: (qmail 65950 invoked from network); 25 Mar 2011 12:30:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Mar 2011 12:30:05 -0000 Received: (qmail 81869 invoked by uid 500); 25 Mar 2011 12:30:04 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 81843 invoked by uid 500); 25 Mar 2011 12:30:04 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 81835 invoked by uid 99); 25 Mar 2011 12:30:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2011 12:30:04 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.ziech@nokia.com designates 147.243.128.24 as permitted sender) Received: from [147.243.128.24] (HELO mgw-da01.nokia.com) (147.243.128.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2011 12:29:57 +0000 Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-da01.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p2PCSThM009660 for ; Fri, 25 Mar 2011 14:29:34 +0200 Received: from smtp.mgd.nokia.com ([65.54.30.5]) by vaebh106.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 25 Mar 2011 14:29:24 +0200 Received: from 008-AM1MMR1-006.mgdnok.nokia.com (65.54.30.61) by NOK-am1MHUB-01.mgdnok.nokia.com (65.54.30.5) with Microsoft SMTP Server (TLS) id 8.2.255.0; Fri, 25 Mar 2011 13:29:24 +0100 Received: from [172.25.239.132] (172.25.239.132) by clientsmtp.nokia.com (65.54.30.61) with Microsoft SMTP Server id 14.1.270.2; Fri, 25 Mar 2011 13:29:23 +0100 Message-ID: <4D8C8AA1.3070901@nokia.com> Date: Fri, 25 Mar 2011 13:29:21 +0100 From: Christian Ziech User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: Subject: CREATOR_ALL_ACL together with IPAuthenticationProvider Content-Type: multipart/alternative; boundary="------------020405090906010203040606" X-Originating-IP: [172.25.239.132] X-OriginalArrivalTime: 25 Mar 2011 12:29:24.0319 (UTC) FILETIME=[465096F0:01CBEAE8] X-Nokia-AV: Clean X-Virus-Checked: Checked by ClamAV on apache.org --------------020405090906010203040606 Content-Type: text/plain; charset="ISO-8859-15"; format=flowed Content-Transfer-Encoding: 8bit We were trying to use the predefined ACL "Ids.CREATOR_ALL_ACL" together with the default ip authentication. Unfortunately it seems that this cannot work due to the implementation of the PrepRequestProcessor.fixupACL() method checking the return value of the AuthenticationProvider.isAuthenticated() (the IPAuthenticationProvider in our case) method. Unfortunately this provider always returns false which results in the Ids.CREATOR_ALL_ACL to be always rejected. We have a working work around in our testcode which is to create our own ACL instance that uses the local static ip of the system as part of the Id. This seems to work well for us (others can read the data but not change it). However it would be great if someone could shed some light on whether the above mentioned behavior is intended (in that case the documentation for the Ids.CREATOR_ALL_ACL constant should state that) or if it is a bug. BR Christian -- *NOKIA* *Christian Ziech* Senior Software Developer Context Based Services Services & Software Mobile: +4915155155740 Fax: +493044676555 eMail: christian.ziech@nokia.com Nokia gate5 GmbH Invalidenstr. 117 10115 Berlin, Germany www.maps.nokia.com www.smart2go.com Nokia gate5 GmbH, Sitz der Gesellschaft: Berlin, Amtsgericht Charlottenburg: HRB 106443 B, Steuernr.: 37/222/20817, ID/VAT-Nr.: DE 812 845 193, Gesch�ftsf�hrer: Dr. Michael Halbherr, Karim T�htivuori --------------020405090906010203040606--