servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristiano Costantini <cristiano.costant...@gmail.com>
Subject Feature for spring-security
Date Sun, 22 Dec 2013 23:47:50 GMT
Hi All,
I wonder why a feature for spring-security does not exists in ServiceMix 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
<feature name="springsec-test" version="${project.version}">
    <feature>spring-dm-web</feature>

    <bundle
start-level="50">mvn:org.springframework.security/spring-security-core/${spring-security.version}</bundle>
    <bundle
start-level="50">mvn:org.springframework.security/spring-security-config/${spring-security.version}</bundle>
    <bundle
start-level="50">mvn:org.springframework.security/spring-security-web/${spring-security.version}</bundle>


<bundle>mvn:${project.groupId}/${project.artifactId}/${project.version}/war</bundle>

</feature>

(with ${spring-security.version} = 3.1.4.RELEASE, which is the one bound 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:

<feature name="springsec-test" version="${project.version}">
    <feature>spring-dm-web</feature>
    <feature>spring-security</feature>

<bundle>mvn:${project.groupId}/${project.artifactId}/${project.version}/war</bundle>

</feature>

why nobody has yet added such feature to karaf/servicemix?


Thank you
(and merry holidays to everybody!)

Cristiano

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message