Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 56565 invoked from network); 24 Mar 2011 15:36:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2011 15:36:57 -0000 Received: (qmail 6708 invoked by uid 500); 24 Mar 2011 15:36:57 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 6512 invoked by uid 500); 24 Mar 2011 15:36:57 -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 6505 invoked by uid 99); 24 Mar 2011 15:36:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 15:36:56 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jzitting@adobe.com designates 64.18.1.183 as permitted sender) Received: from [64.18.1.183] (HELO exprod6og102.obsmtp.com) (64.18.1.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 15:36:47 +0000 Received: from source ([193.104.215.16]) by exprod6ob102.postini.com ([64.18.5.12]) with SMTP ID DSNKTYtk+MddfjGAdA8Kv3jJ8BsHDRJl/Dia@postini.com; Thu, 24 Mar 2011 08:36:26 PDT Received: from inner-relay-1.corp.adobe.com (inner-relay-1.corp.adobe.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id p2OFaMTn027593 for ; Thu, 24 Mar 2011 08:36:22 -0700 (PDT) Received: from nahub02.corp.adobe.com (nahub02.corp.adobe.com [10.8.189.98]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id p2OFaLPY007749 for ; Thu, 24 Mar 2011 08:36:21 -0700 (PDT) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nahub02.corp.adobe.com (10.8.189.98) with Microsoft SMTP Server (TLS) id 8.3.137.0; Thu, 24 Mar 2011 08:36:21 -0700 Received: from [10.131.197.110] (10.131.197.110) by eurhub01.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server id 8.3.137.0; Thu, 24 Mar 2011 15:36:19 +0000 Message-ID: <4D8B64EE.6080500@adobe.com> Date: Thu, 24 Mar 2011 16:36:14 +0100 From: Jukka Zitting Organization: Adobe User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: "dev@jackrabbit.apache.org" Subject: Re: Session.clone() References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 24.03.2011 16:03, Thomas Mueller wrote: > Currently there is no 'official' way to clone a session > (create a new session for the same user). The simplest solution is probably to keep the original credentials around and use Repository.login() again to get the new session. -- Jukka Zitting