From activemq-dev-return-2805-apmail-geronimo-activemq-dev-archive=geronimo.apache.org@geronimo.apache.org Tue Sep 05 19:48:55 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 46988 invoked from network); 5 Sep 2006 19:48:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2006 19:48:51 -0000 Received: (qmail 29508 invoked by uid 500); 5 Sep 2006 19:48:51 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 29385 invoked by uid 500); 5 Sep 2006 19:48:51 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 29376 invoked by uid 99); 5 Sep 2006 19:48:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 12:48:51 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sepandm@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 12:48:50 -0700 Received: by nf-out-0910.google.com with SMTP id n29so51266nfc for ; Tue, 05 Sep 2006 12:48:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=g0MBeyVNdhB41XYIYytmBk2DK4FSXyVfKBYlMRFdcck3BMhUkAi5zwCngp78t3LGLfGsdaCOH99ukHwyEE/kid9JBWrNTxBsmJ147J/U9mV/dpV+X4ieTrYWW3kGoQN4tmOOMQdA1O+6GAd+33vsVQPLdJ1HhRjcoRAy+C6w24Q= Received: by 10.65.98.4 with SMTP id a4mr5236238qbm; Tue, 05 Sep 2006 12:48:28 -0700 (PDT) Received: by 10.65.43.16 with HTTP; Tue, 5 Sep 2006 12:48:28 -0700 (PDT) Message-ID: Date: Tue, 5 Sep 2006 12:48:28 -0700 From: "Sepand M" To: activemq-dev@geronimo.apache.org Subject: Re: Core-Jaas dependencies ... again In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_115602_32715573.1157485708481" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_115602_32715573.1157485708481 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Responses below On 9/5/06, Guillaume Nodet wrote: > > What do you mean by non optional dependency ? > A dependency can always be set as optional, and > actually is until you use it. The way things are, core always needs jaas, so it's not really optional. I guess the other solution is to create a module > for these classes only, but i' m not sure it' s worth it. I highly doubt it's worth the effort. On 9/5/06, Sepand M wrote: > > > > Hi guys, > > > > I brought this up before and I thought it was solved, but it isn't. > > The basic problem is that JaasAuthenticationBroker, > > JaasCertificationAuthenticationBroker (that's a new class), and their > > supporting classes need Broker, BrokerFilter, etc. and also need > > JaasCertificateCallback (also new), etc. > > Broker, BrokerFilter are in the core module (for obvious reasons) and > > JaasCertificateCallback, etc. are in Jaas module. > > This forces a non-optional dependency between core and jaas, which from > > what > > I understand we are trying to avoid. > > Moving JaasAuthenticationBroker and > JaasCertificationAuthenticationBroker > > to > > jaas is not an option (as far as I know) since mvn doesn't allow a > > circular > > dependency (from core to jaas and back to core). > > Obviously moving everything into core is dumb. > > > > So... any suggestions? > > > > Regards, > > Sepand > > > > > > > -- > Cheers, > Guillaume Nodet > > ------=_Part_115602_32715573.1157485708481--