Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C090CC7ED for ; Mon, 29 Jul 2013 09:54:15 +0000 (UTC) Received: (qmail 49615 invoked by uid 500); 29 Jul 2013 09:54:14 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 49585 invoked by uid 500); 29 Jul 2013 09:54:14 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 49571 invoked by uid 99); 29 Jul 2013 09:54:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 09:54:13 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [64.18.1.238] (HELO exprod6og122.obsmtp.com) (64.18.1.238) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 09:54:05 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob122.postini.com ([64.18.5.12]) with SMTP ID DSNKUfY7k5eTz3eyqkUPwVFWasS0vNLUI7iv@postini.com; Mon, 29 Jul 2013 02:53:44 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 r6T9rLAI012260 for ; Mon, 29 Jul 2013 02:53:21 -0700 (PDT) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r6T9rJ6C017546 for ; Mon, 29 Jul 2013 02:53:20 -0700 (PDT) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.298.1; Mon, 29 Jul 2013 02:53:20 -0700 Received: from susi.local (10.132.1.203) by eurhub01.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server id 8.3.298.1; Mon, 29 Jul 2013 10:53:15 +0100 Message-ID: <51F63B8A.8010205@apache.org> Date: Mon, 29 Jul 2013 11:53:14 +0200 From: =?ISO-8859-1?Q?Michael_D=FCrig?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Subject: Re: Login parameters References: 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 Hi, On 29.7.13 11:20, Jukka Zitting wrote: > It would be useful to be able to pass in extra parameters in a > Repository.login() call, I think we should aim towards 3. making this method part of the JCR spec while at the same time deprecating the other login methods. Their effect could still easily be achieved through a simple helper class. At them same time we should do 1. in order to offer a simple alternative, although not generally applicable. The other proposals seem a bit hacky to me and might lead to maintenance issues further done the line. Michael