Return-Path: X-Original-To: apmail-servicemix-dev-archive@www.apache.org Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA33B100F3 for ; Mon, 30 Dec 2013 15:46:52 +0000 (UTC) Received: (qmail 22656 invoked by uid 500); 30 Dec 2013 15:46:49 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 22629 invoked by uid 500); 30 Dec 2013 15:46:48 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 22610 invoked by uid 99); 30 Dec 2013 15:46:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 15:46:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cristiano.costantini@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 15:46:41 +0000 Received: by mail-wg0-f49.google.com with SMTP id x12so10097008wgg.4 for ; Mon, 30 Dec 2013 07:46:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sZYdcbDrorb6I2xymtgfwD+bsifrC+UWl4Mh4vyE2SY=; b=arKcReiVdGzHmfvVDB5wQtRBNRhcXGFKfL4pk+z5Kbpg/vqXuT6J504O1i7Tdw5ArE nafhRgFBNnfO+p5BtIMLsdeVbliRRsOtMESKl3/0S/kxUpcZzhpGoG4dfx8723PymvH9 aYmFD6WeQTxmk8uZZdFuRx3d+Ff+BUCc9u8U5mnXj7ZMwGLLNsSRDIXuLBhknmW/NtGB QgCmDXXjzJSNWfAujR7P53JJbgj+i+rAuUVKwk8shtPAKP6V5yiyuuBlHNGgKfrD+iEx ihaeFTFsx56vuDSjDaxsK4OiGSAwPZXLM5+Jzr0KmAm8CdrOvXBrW7LY5k9KjS8yHMIw Ns0A== MIME-Version: 1.0 X-Received: by 10.194.189.132 with SMTP id gi4mr42035071wjc.5.1388418380306; Mon, 30 Dec 2013 07:46:20 -0800 (PST) Received: by 10.217.132.6 with HTTP; Mon, 30 Dec 2013 07:46:20 -0800 (PST) In-Reply-To: <52B7E1AD.4040709@nanthrax.net> References: <52B7D96B.9040709@nanthrax.net> <52B7E1AD.4040709@nanthrax.net> Date: Mon, 30 Dec 2013 16:46:20 +0100 Message-ID: Subject: Re: Feature for spring-security From: Cristiano Costantini To: "dev@servicemix.apache.org" Content-Type: multipart/alternative; boundary=047d7bb043745ba01304eec258f2 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bb043745ba01304eec258f2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, it is not yet of a good quality to be published as an example, but here is the code I've worked on to test spring security on servicemix: https://github.com/cristcost/springsec I'm not going to clean the project in short time, so I've decided to publish to github anyway, but if anyone of you is interested to it and need help I will be glad to support using it. Please note the Git tags, I've worked adding Spring Security support to the example step by step, and I've tagged every time I have achieved a significant milestone. Regards, Cristiano 2013/12/23 Jean-Baptiste Onofr=E9 > It sounds good. Thanks. > > Regards > JB > > > On 12/23/2013 08:04 AM, Cristiano Costantini wrote: > >> Thank you! >> >> I will provide testing support for that and publish open source examples >> that shows how to use it. >> >> Regards, >> Cristiano >> >> >> Il giorno luned=EC 23 dicembre 2013, Jean-Baptiste Onofr=E9 ha scritto: >> >> Hi Cristiano, >>> >>> It has not been added because nobody needs it up to now ;) >>> >>> However, it's a good addition, agree. >>> >>> I'm adding it in the Karaf Spring features (see KARAF-2649). >>> >>> Regards >>> JB >>> >>> On 12/23/2013 12:47 AM, Cristiano Costantini wrote: >>> >>> Hi All, >>>> I wonder why a feature for spring-security does not exists in ServiceM= ix >>>> or >>>> Karaf. >>>> >>>> I just finished playing around with it on ServiceMix 4.5.3, and I got = it >>>> working, even if fore a basic example. >>>> >>>> In my test I used the following feature for installing spring security >>>> dependencies >>>> >>>> spring-dm-web >>>> >>>> >>> start-level=3D"50">mvn:org.springframework.security/ >>>> spring-security-core/${spring-security.version} >>>> >>> start-level=3D"50">mvn:org.springframework.security/ >>>> spring-security-config/${spring-security.version} >>>> >>>> >>> start-level=3D"50">mvn:org.springframework.security/ >>>> spring-security-web/${spring-security.version} >>>> >>>> >>>> mvn:${project.groupId}/${project.artifactId}/${ >>>> project.version}/war >>>> >>>> >>>> >>>> (with ${spring-security.version} =3D 3.1.4.RELEASE, which is the one b= ound >>>> to >>>> Spring 3.0.7.RELEASE that is the version available in Servicemix 4.5.3= ) >>>> >>>> >>>> The fact that it does not exists scary me as I see it really >>>> straightforward to have a feature like "spring-security" that would >>>> allow >>>> to rewrite the code above as: >>>> >>>> >>>> spring-dm-web >>>> spring-security >>>> >>>> mvn:${project.groupId}/${project.artifactId}/${ >>>> project.version}/war >>>> >>>> >>>> >>>> why nobody has yet added such feature to karaf/servicemix? >>>> >>>> >>>> Thank you >>>> (and merry holidays to everybody!) >>>> >>>> Cristiano >>>> >>>> >>>> -- >>> Jean-Baptiste Onofr=E9 >>> jbonofre@apache.org >>> http://blog.nanthrax.net >>> Talend - http://www.talend.com >>> >>> >> > -- > Jean-Baptiste Onofr=E9 > jbonofre@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com > --047d7bb043745ba01304eec258f2--