Skip to content

Bundle metadata prevent from using Spring Security 4+ #169

Description

@raubel

Hi,

I would like to use Hazelcast WM with Spring Security in an OSGI environment.
But in the MANIFEST.MF of hazelcast-wm.jar version 5.0, the version of Spring Security is limited to version 4 (excluded).

Import-Package: javax.servlet;version="[4.0,5)",javax.servlet.http;versi
 on="[4.0,5)",org.apache.log4j;resolution:=optional,org.apache.logging.l
 og4j;resolution:=optional;version="[2.20,3)",org.slf4j;resolution:=opti
 onal,org.springframework.context;resolution:=optional,org.springframewo
 rk.security.core.session;version="[3.2,4)";resolution:=optional,org.spr
 ingframework.security.web.session;version="[3.2,4)";resolution:=optiona
 l,org.springframework.web.context;resolution:=optional,org.springframew
 ork.web.context.support;resolution:=optional

I guess this is obsolete.

Because of this, I'm not able to start my application with Spring Security 5 or 6.
The workaround is to repackage the jar with the correct metadata.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions