Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 527D6DA03 for ; Mon, 31 Dec 2012 03:47:51 +0000 (UTC) Received: (qmail 56292 invoked by uid 500); 31 Dec 2012 03:47:50 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 56250 invoked by uid 500); 31 Dec 2012 03:47:49 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 56214 invoked by uid 99); 31 Dec 2012 03:47:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2012 03:47:48 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchaffee@shopzilla.com designates 205.209.7.93 as permitted sender) Received: from [205.209.7.93] (HELO smtp2.shopzilla.com) (205.209.7.93) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2012 03:47:43 +0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=s1024;d=shopzilla.com; h=from:to:subject:date:message-id:references:in-reply-to:content-type :mime-version; bh=bOEdFjXYQMY/s+w1VFDdIxuVOh8=; b=zTRW/ZK/bFqB9648fWmz78oUaQnNvRPRLBYMQe42uqcBZ3iumF+o05R1uxOZ1oH3tUKBkbK3 VyNxnZ7SJUWtsjLmFCY0vb8IrHEaOlMvrU3mNBTSD6hSskrIiCGYTOuLzwDaLhJ14kTwsJjL aKNwpwLo71SN0jZgLV6vqXtrRSY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024;d=shopzilla.com; h=from:to:subject:date:message-id:references:in-reply-to:content-type :mime-version; b=1njBbmf06F4fRpL5oqjsGF90XSPlYWBmU+ATKAyQ97obsdlH0ikCK/p/UDwm5XR6TyIU4/21 n4QRzabvqTkquZhKarWnSZhNch38baBi708oROUY1dgfQhsUrwwMW2VhZTTlqYIfPbmayWU+ LP0V9oywvEN/YbW+Cho6oybq3CE= Received: from SZHQMSXNODE1B.shopzilla.corp ([fe80::b8a6:38cf:61a5:c68a]) by SZHQMSXHUB03.shopzilla.corp ([fe80::dc82:3b98:9d94:2231%10]) with mapi id 14.01.0355.002; Sun, 30 Dec 2012 19:47:21 -0800 From: Jason Chaffee To: "" Subject: Re: cxfrs(authentication and authorization) Thread-Topic: cxfrs(authentication and authorization) Thread-Index: AQHN5hA0d9KeqfX7x0aRyZ/fLlvk9JgyzRWA Date: Mon, 31 Dec 2012 03:47:19 +0000 Message-ID: References: <1356799245804-5724718.post@n5.nabble.com> In-Reply-To: <1356799245804-5724718.post@n5.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.40.4.17] Content-Type: text/plain; charset="us-ascii" Content-ID: <6F61D45EFE6FF746B4C98D43CABF214B@shopzilla.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I think there are a number ways you could to it. =20 1) If you wanted to secure your routing and/or do it at the camel route lev= el then you could use camel-shiro. See http://camel.apache.org/shiro-secur= ity.html Or camel-spring-security. See http://camel.apache.org/spring-security.html 2) You could use a JAXRS filter. See http://cxf.apache.org/docs/jax-rs-fil= ters.html 3) You could use a CXF interceptor, but this more tightly couples you with = CXF itself. =20 There are other possibilities as well, but (1) or (2) would be my first cho= ices and I would decide on them based on my particular user scenario / use-= case. Jason On Dec 29, 2012, at 8:40 AM, pablo.m.gore wrote: > Hi > In my company we are working in a new prototype , the idea is to have > restful services , and we wish to work with camel here. > We create with no problem the different services , but now , I have a new > requirement , the rest services should be insured(authentication and > authorization) > How can I integrated jaxrs with spring-security /shiro? > Someone did it before ? > Thanks and regards. > Pablo Gore >=20 >=20 >=20 >=20 >=20 > -- > View this message in context: http://camel.465427.n5.nabble.com/cxfrs-aut= hentication-and-authorization-tp5724718.html > Sent from the Camel - Users mailing list archive at Nabble.com. >=20