From user-return-389-apmail-karaf-user-archive=karaf.apache.org@karaf.apache.org Tue Dec 28 16:57:01 2010 Return-Path: Delivered-To: apmail-karaf-user-archive@minotaur.apache.org Received: (qmail 8245 invoked from network); 28 Dec 2010 16:57:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Dec 2010 16:57:01 -0000 Received: (qmail 73171 invoked by uid 500); 28 Dec 2010 16:57:00 -0000 Delivered-To: apmail-karaf-user-archive@karaf.apache.org Received: (qmail 73090 invoked by uid 500); 28 Dec 2010 16:56:59 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 73082 invoked by uid 99); 28 Dec 2010 16:56:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Dec 2010 16:56:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anpieber@gmail.com designates 209.85.161.48 as permitted sender) Received: from [209.85.161.48] (HELO mail-fx0-f48.google.com) (209.85.161.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Dec 2010 16:56:49 +0000 Received: by fxm2 with SMTP id 2so9603082fxm.21 for ; Tue, 28 Dec 2010 08:56:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=mIOmsVpsLt53ks2RLdsBwQbrlgfDs92oZKzAZUYtlQY=; b=Bmn3hU1sm9odpwnBY2+qZQyDzRAX67BKCGZuPrzsZ7e5IaHQ2wKsgUybR2WJNetDuq FnHXe/5GGU7FuhL52Zl0kpwZnz1+GNTMkmdLp+5DliSYpl8pNisMfHwMVFmgR3944NWI DcBUamNYoMIZMLXuGshX9/Hjzn/xX8PgT+lLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=I51TPSTWQv2M/wkdVdj08WEJfIub9CCsSdUWiXrqrMf691r4kYCW2xzqkoklhVBVKg PXmw2p6NO+iM82h0tbxRZVo0vIiA9sOZ0HbEDmvnyqC/rbi0NcLHqiZ0QXnrsFfe9zIr 73WVq1BymmVVo3pGRuVOmorw/GmchWTVLAhTE= Received: by 10.223.102.67 with SMTP id f3mr13101402fao.125.1293555389208; Tue, 28 Dec 2010 08:56:29 -0800 (PST) Received: from coprime.schmutterer-partner.at (mail.schmutterer-partner.at [85.126.79.2]) by mx.google.com with ESMTPS id a6sm2171536fak.1.2010.12.28.08.56.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Dec 2010 08:56:28 -0800 (PST) Date: Tue, 28 Dec 2010 17:56:23 +0100 From: Andreas Pieber To: user@karaf.apache.org Subject: Re: Problem reusing JAAS login modules Message-ID: <20101228165623.GD29447@coprime.schmutterer-partner.at> References: <6214206A-E171-4F41-B4B8-E15E14BF8F5B@neociclo.com> <4D198510.1040605@nanthrax.net> <9D61D96D-DEB3-4119-A897-CBE27B13A3BE@neociclo.com> <20101228113238.GA29447@coprime.schmutterer-partner.at> <20101228114349.GB29447@coprime.schmutterer-partner.at> <4577D601-1D19-4F88-AAE5-D24B2B38B916@neociclo.com> <20101228122431.GC29447@coprime.schmutterer-partner.at> <5D15815B-E587-4420-98A7-9492671BDDFF@neociclo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YToU2i3Vx8H2dn7O" Content-Disposition: inline In-Reply-To: <5D15815B-E587-4420-98A7-9492671BDDFF@neociclo.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org --YToU2i3Vx8H2dn7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Not ad-hoc, but if you can provide a very simple example to reproduce the problem and create an issue for it I can take a look at it. kind regards, andreas On Tue, Dec 28, 2010 at 02:52:21PM -0200, Rafael Marins wrote: > Hi Andreas, >=20 > Changing the imports to meet the specific package just worked for my bund= le, which encompass both the jaas configuration blueprint xml and the oftp-= context.xml with Camel routes. Thanks everybody!!! >=20 > What did the trick was simply the: >=20 > > org.apache.karaf.jaas.modules.properties;version=3D"[2.1.2,3)" > >=20 >=20 > Although, restarting Karaf was required. The JAAS realm is not found when= used after a fresh features:install accord-server. Any guess why? >=20 > Best regards, > -- > Rafael Marins >=20 >=20 >=20 >=20 > On Dec 28, 2010, at 10:24 AM, Andreas Pieber wrote: >=20 > > your pom looks ok so far... The imports * is not taken into account (no= t sure y) but the > > easiest solution is to > >=20 > > 1) put your blueprint into deploy > > 2) get all imported packages > > 3) explicitly add those packages as imports (do not use *) (e.g. use > > XXXX.karaf.config and XXX.karaf.config.impl, ...). > >=20 > > This should do the trick > >=20 > > kind regards, > > andreas >=20 --YToU2i3Vx8H2dn7O Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJNGha3AAoJEIPi9q1XSsGWk5IQAJ8CFFXk7CrpyoMUlkI05Snq 4S2UjKFSAz3/HRrDB/m6mjqkieJqkzD1Bxvs3OvaeSaXeNlg9O+IqBoZKus85Rck mPqc2kRvMTaKWb/UG6OWnRX28U3dAxREZVW2Q6XGyMWcwEjivJuvR9hGorIDPlQv UesMqYupwqQR0azVQxLx8uCWitkqq/GyDiWFinbDd6opoH1ArEQvbbej1Uu+3CeT yWhlAvAwu0ULPjtIFYe4ecolvc/cIivAga8UNG7M3KVL8FvghqqJ25qaE0l9aSQh yoqwjqLC0L4TL2zy0CR9JzuLp6F8vlsZKC+FnCkL866VMJbCKZNqcLfn0NDYzOfg 5S/k1yERKHIcygmX1SbJgQbYOcwknD9gXC3qWGGjHy1UeVzYAWt2p1bz178YKRDS WrKO4Y91lxGOr2TQ/eX8r4sXaTaqdc6SQT0Zd2x4wN4tEHFxhxhj5aWvVr5zOv6k oGS2xiSl00orwQqXbiGGZYrZZFekWKiE7gH5GBDIJ8aMIW1v71XGOR7BxvFr7FQe gWLMQavmsXMSuVgu6XgROiSbGk73MmimSqFv9x/8rkofOTR38JfMKTt8dK4yAPUr rROTN4GWWfDFG3qqihuaDx6b+c0obF8wAH8KWsdqdV9UF2NM8vItADEY5FHrdijc YlJvkZ7SFmR3/urD+LbT =Hvrh -----END PGP SIGNATURE----- --YToU2i3Vx8H2dn7O--