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.brou...@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.brou...@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.
>

Reply via email to