You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by BROUCKE Vincent <Vi...@contractor.voo.be> on 2022/08/26 09:16:17 UTC

camel-spring-security feature

Hi,

I would like to install camel-spring-security in my Karaf 4.3.6.



It seems that feature camel-spring-security has disappeared in version 3.15.0 : https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.15.0/apache-camel-3.15.0-features.xml.

So I tried to install it without feature :



feature:install spring-security

install -s mvn:org.apache.camel/camel-spring-security/3.15.0



But Karaf gives me the following error :



Error executing command: Error installing bundles:

    Unable to start bundle mvn:org.apache.camel/camel-spring-security/3.15.0: org.osgi.framework.BundleException: Unable to resolve org.apache.camel.camel-spring-security [263](R 263.0): missing requirement [org.apache.camel.camel-spring-security [263](R 263.0)] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.security.access)(version>=4.0.0)(!(version>=5.0.0))) Unresolved requirements: [[org.apache.camel.camel-spring-security [263](R 263.0)] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.security.access)(version>=4.0.0)(!(version>=5.0.0)))]



When I look at the pom, I see that camel-spring-security depends on spring-core in version 5.3.15 :



<dependency>

   <groupId>org.springframework</groupId>

   <artifactId>spring-core</artifactId>

   <version>5.3.15</version>

   <scope>compile</scope>

</dependency>



But when I look at the Manifest, it requires the following version :



org.springframework.security.core.context;version="[4,5)"

All 4.x.y version but not 5.x.y version.



Do you have an idea?



Thank you for your help



[cid:image001.png@01D8B93D.425993A0]

Vincent Broucke

IT BSS

BSS Integration Component Owner
Consultant externe pour Wavenet


M +32(0)495 29 69 65

vincent.broucke@contractor.voo.be




Ce message transmis par voie ?lectronique ainsi que toutes ses annexes contiennent des informations qui peuvent ?tre confidentielles ou prot?g?es. Ces informations sont uniquement destin?es ? l'usage des personnes ou des entit?s pr?cis?es dans les champs 'A', 'Cc' et 'Cci'. Si vous n'?tes pas l'un de ces destinataires, soyez conscient que toute forme, partielle ou compl?te, de divulgation, copie, distribution ou utilisation de ces informations est strictement interdite. Si vous avez re?u ce message par erreur, veuillez nous en informer par t?l?phone ou par message ?lectronique et d?truire les informations imm?diatement. Ce message n'engage que son signataire et aucunement son employeur.

Re: camel-spring-security feature

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

It seems spring-security version used is 4.x, whereas spring-securiy 5.x
feature is available.

I gonna take a look and fix the feature/bundles.

Regards
JB

On Fri, Aug 26, 2022 at 11:16 AM BROUCKE Vincent <
Vincent.BROUCKE@contractor.voo.be> wrote:

> Hi,
>
> I would like to install camel-spring-security in my Karaf 4.3.6.
>
>
>
> It seems that feature *camel-spring-security* has disappeared in version
> 3.15.0 :
> https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.15.0/apache-camel-3.15.0-features.xml
> .
>
> So I tried to install it without feature :
>
>
>
> feature:install spring-security
>
> install -s mvn:org.apache.camel/camel-spring-security/3.15.0
>
>
>
> But Karaf gives me the following error :
>
>
>
> Error executing command: Error installing bundles:
>
>     Unable to start bundle mvn:org.apache.camel/camel-spring-security/3.15.0: org.osgi.framework.BundleException: Unable to resolve org.apache.camel.camel-spring-security [263](R 263.0): missing requirement [org.apache.camel.camel-spring-security [263](R 263.0)] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.security.access)(version>=4.0.0)(!(version>=5.0.0))) Unresolved requirements: [[org.apache.camel.camel-spring-security [263](R 263.0)] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.security.access)(version>=4.0.0)(!(version>=5.0.0)))]
>
>
>
> When I look at the pom, I see that camel-spring-security depends on
> spring-core in version 5.3.15 :
>
>
>
> <dependency>
>
>    <groupId>org.springframework</groupId>
>
>    <artifactId>spring-core</artifactId>
>
>    <version>5.3.15</version>
>
>    <scope>compile</scope>
>
> </dependency>
>
>
>
> But when I look at the Manifest, it requires the following version :
>
>
>
> org.springframework.security.core.context;version="[4,5)"
>
> All 4.x.y version but not 5.x.y version.
>
>
>
> Do you have an idea?
>
>
>
> Thank you for your help
>
>
>
>
>
>
>
> *Vincent Broucke*
>
> *IT BSS*
>
> *BSS Integration Component Owner*
>
> *Consultant externe pour Wavenet*
>
> M +32(0)495 29 69 65
>
> vincent.broucke@contractor.voo.be
>
>
>
>
> Ce message transmis par voie électronique ainsi que toutes ses annexes
> contiennent des informations qui peuvent être confidentielles ou protégées.
> Ces informations sont uniquement destinées à l’usage des personnes ou des
> entités précisées dans les champs ‘A’, ‘Cc’ et ‘Cci’. Si vous n’êtes pas
> l’un de ces destinataires, soyez conscient que toute forme, partielle ou
> complète, de divulgation, copie, distribution ou utilisation de ces
> informations est strictement interdite. Si vous avez reçu ce message par
> erreur, veuillez nous en informer par téléphone ou par message électronique
> et détruire les informations immédiatement. Ce message n’engage que son
> signataire et aucunement son employeur.
>