From users-return-18098-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Sep 20 10:13:23 2011 Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1434B72D3 for ; Tue, 20 Sep 2011 10:13:23 +0000 (UTC) Received: (qmail 68819 invoked by uid 500); 20 Sep 2011 10:13:22 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 68789 invoked by uid 500); 20 Sep 2011 10:13:22 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 68781 invoked by uid 99); 20 Sep 2011 10:13:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 10:13:22 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=LOCALPART_IN_SUBJECT,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anchela@adobe.com designates 64.18.1.25 as permitted sender) Received: from [64.18.1.25] (HELO exprod6og110.obsmtp.com) (64.18.1.25) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 10:13:13 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob110.postini.com ([64.18.5.12]) with SMTP ID DSNKTnhnJP4PfSLqr7LNv40CkFMd/Q1YI2Eo@postini.com; Tue, 20 Sep 2011 03:12:53 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id p8KABNC7007773; Tue, 20 Sep 2011 03:11:23 -0700 (PDT) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id p8KACdkE006893; Tue, 20 Sep 2011 03:12:51 -0700 (PDT) Received: from eurcas01.eur.adobe.com (10.128.4.27) by nahub01.corp.adobe.com (10.8.189.97) with Microsoft SMTP Server (TLS) id 8.3.192.1; Tue, 20 Sep 2011 03:12:42 -0700 Received: from angela.eur.adobe.com (10.132.1.235) by eurcas01.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server id 8.3.192.1; Tue, 20 Sep 2011 11:12:42 +0100 Message-ID: <4E786719.20309@adobe.com> Date: Tue, 20 Sep 2011 12:12:41 +0200 From: Angela Schreiber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: "users@jackrabbit.apache.org" , "fcarriedos@gmail.com" Subject: Re: Creating users References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 9/15/11 12:41 PM, Francisco Carriedo Scher wrote: > Hi there, > > finally setting permissions through resource-based ACLs is achieved. Now i > am trying to create users and test ACLs with them, but i found problems. > First of all, creating users (that will be affected by the set ACLs for > them) should be straight forward isn't it? yes... jackrabbit provides user management API in it's own extensions of the JCR API. this allow you to create users, groups, add members to groups etc... since access control such as defined by the JCR API deals with principals rather than users, jackrabbit also defines principal management API, where the default implementation is backed by the user management. not sure how your repository configuration looks like. but if you have something else than the simplesecuritymanager you should get everything for free. angela