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 6D52DE1A4 for ; Tue, 19 Feb 2013 10:03:36 +0000 (UTC) Received: (qmail 71899 invoked by uid 500); 19 Feb 2013 10:03:36 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 71804 invoked by uid 500); 19 Feb 2013 10:03:36 -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 71779 invoked by uid 99); 19 Feb 2013 10:03:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 10:03:35 +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 (athena.apache.org: domain of fmeschbe@adobe.com designates 64.18.1.208 as permitted sender) Received: from [64.18.1.208] (HELO exprod6og107.obsmtp.com) (64.18.1.208) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 19 Feb 2013 10:03:26 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob107.postini.com ([64.18.5.12]) with SMTP ID DSNKUSNN2aQx/Fkv2knBYBL7TvYN2RrGN7w2@postini.com; Tue, 19 Feb 2013 02:03:06 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r1JA001v024963 for ; Tue, 19 Feb 2013 02:00:01 -0800 (PST) Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id r1JA32XM021360 for ; Tue, 19 Feb 2013 02:03:03 -0800 (PST) Received: from eurcas01.eur.adobe.com (10.128.4.27) by nacas03.corp.adobe.com (10.8.189.121) with Microsoft SMTP Server (TLS) id 8.3.298.1; Tue, 19 Feb 2013 02:03:02 -0800 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurcas01.eur.adobe.com ([10.128.4.27]) with mapi; Tue, 19 Feb 2013 10:03:00 +0000 From: Felix Meschberger To: "oak-dev@jackrabbit.apache.org" Date: Tue, 19 Feb 2013 10:02:59 +0000 Subject: Re: Time for jackrabbit-jcr-auth? Thread-Topic: Time for jackrabbit-jcr-auth? Thread-Index: Ac4OiEv2t0P4QnFmRl+1rzn0LofQoQ== Message-ID: <3CB20295-CBE2-4003-AA61-CFC179CE23A3@adobe.com> References: In-Reply-To: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Can you separate API from implementation in the same step ? Currently API and implementation is "nicely" mixed, which makes it close to= impossible to properly use in an OSGi context. Regards Felix Am 19.02.2013 um 10:52 schrieb Jukka Zitting: > Hi, >=20 > When looking at the login() code for OAK-634 I realized that there's a > a lot of duplication between jackrabbit-core and oak-core in this > area. >=20 > Would it make sense to split out the authentication code to something > like jackrabbit-jcr-auth that could be used by both jackrabbit-core > and oak-core. >=20 > AFAICT there aren't too many places in the authentication code that > require deep integration with the repository internals (unlike in > authorization), so it should be possible to extract the relevant code > to a separate component. Or am I mistaken? >=20 > BR, >=20 > Jukka Zitting -- Felix Meschberger | Principal Scientist | Adobe