Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 84445 invoked from network); 24 Aug 2008 14:30:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Aug 2008 14:30:25 -0000 Received: (qmail 64279 invoked by uid 500); 24 Aug 2008 14:30:23 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 64264 invoked by uid 500); 24 Aug 2008 14:30:23 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 64253 invoked by uid 99); 24 Aug 2008 14:30:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2008 07:30:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Janne.Jalkanen@ecyrd.com designates 193.64.5.122 as permitted sender) Received: from [193.64.5.122] (HELO mail.ecyrd.com) (193.64.5.122) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2008 14:29:25 +0000 Received: from [192.168.0.13] (cs181005170.pp.htv.fi [82.181.5.170]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.ecyrd.com (Postfix) with ESMTP id A43544904A for ; Sun, 24 Aug 2008 17:29:38 +0300 (EEST) Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: References: <1219409691.7901.167.camel@netframe> <1219433937.7901.253.camel@netframe> <1219450028.7901.302.camel@netframe> <1219496510.7901.324.camel@netframe> <1219501861.7901.334.camel@netframe> <0EAB6912-E84D-43C9-9673-12FA131B3EE1@ecyrd.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Janne Jalkanen Subject: Re: author ids Date: Sun, 24 Aug 2008 17:29:33 +0300 To: jspwiki-dev@incubator.apache.org X-Mailer: Apple Mail (2.753.1) X-Virus-Checked: Checked by ClamAV on apache.org > Does this mean we need to (slightly) refactor the interface for > UserProfile so that getId() returns a String? It should be the same > ID, methinks. Yes. And since it's a new thing in 2.8, it might be pretty easy to do at this stage, before 2.8 is stable. (JCR tends to treat all IDs as Strings anyway, so it's a safe move.) > Well, this is something we do today, already. And the reason we do > it is because otherwise if a user changed their wiki name, all of > sudden he or she would be locked out of all pages containing ACLs > with their name. Obviously, yes. > This particular chunk of code would go away, clearly, if we stored > IDs rather than Principal names. However, the ACL implementations > would need to resolve the ID and return Principals (do the > "translation" between IDs and Principals). Yes. BTW, any preferences to the serialization format of the ACLs? I'd prefer something human-readable rather than direct Java serialization... /Janne