Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 76044 invoked from network); 9 Jul 2009 09:17:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jul 2009 09:17:22 -0000 Received: (qmail 32792 invoked by uid 500); 9 Jul 2009 09:17:31 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 32773 invoked by uid 500); 9 Jul 2009 09:17:31 -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 32762 invoked by uid 99); 9 Jul 2009 09:17:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 09:17:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of haba713@gmail.com designates 209.85.220.224 as permitted sender) Received: from [209.85.220.224] (HELO mail-fx0-f224.google.com) (209.85.220.224) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 09:17:21 +0000 Received: by fxm24 with SMTP id 24so13412fxm.43 for ; Thu, 09 Jul 2009 02:17:00 -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 :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=5bfmvGxsyIGeb3UQH17fmSFCpvt190i4+U/Uc7VXHQg=; b=K0lUg4OsNEt7lR7rNyMCnHy3nneCSVVBHHZnbhGu4HARTZ5UFFV/0F//4BBXjMpGnh b7FiYi06EjRnIFEpHrh7sU4FhWCZ3GOmiVX8Gn7+bMaNMSa+rH9f4v1mSqBz5qrybNSu DABA1hSEQZaTzX9HKyMgO4BwWg8tChy/1gBVA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Wf1cFUEPYfyMUBPw9yb9osP8nMZ76IfSvoxDTzGbhCJlrSHix9H/5lLuMb9RSkNutS CkBCjRXHCmX/F6HqMnMCv/3ZXA5HbcG+V3AOz8DekbdVVcrP0q3k4o1oQx8aj0eBKwh4 wwkL8sQSwTN8x2Jrjhg0jf1+Ye3rdcn85Hl2s= Received: by 10.204.61.209 with SMTP id u17mr526230bkh.86.1247131020649; Thu, 09 Jul 2009 02:17:00 -0700 (PDT) Received: from ?192.168.2.10? (a88-115-218-130.elisa-laajakaista.fi [88.115.218.130]) by mx.google.com with ESMTPS id k29sm17609504fkk.26.2009.07.09.02.16.59 (version=SSLv3 cipher=RC4-MD5); Thu, 09 Jul 2009 02:17:00 -0700 (PDT) Message-ID: <4A55B58B.5060407@gmail.com> Date: Thu, 09 Jul 2009 12:16:59 +0300 From: "Harri T." User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: Recovering repository (or combining two repositories) References: <4A4A74A6.1010006@gmail.com> <4A4BBE04.9020108@gmail.com> <4A550CEA.7040905@gmail.com> <4A550D49.5000509@gmail.com> <4A55A035.5010106@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 09.07.2009 11:50 Alexander Klimetschek wrote: > On Thu, Jul 9, 2009 at 9:45 AM, Harri T. wrote: >> Session session = repository.login(); > > I guess access control is not present? 1.3.1 only has the simple > access model that only differentiates between normal user and admin > user (if user id is "admin"), but it could be that there is a custom > access manager present, so you might need to login with different > credentials. repository.xml seems to have a security element: Now I tried both of these login methods: Session session = repository.login(new SimpleCredentials("admin", new char[]{})); Session session = repository.login(new SimpleCredentials("anonymous", new char[]{})); However, I get always the previously described output. -Harri