Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle metadata prevent from using Spring Security 4+ #169

Open
raubel opened this issue Oct 7, 2024 · 0 comments
Open

Bundle metadata prevent from using Spring Security 4+ #169

raubel opened this issue Oct 7, 2024 · 0 comments

Comments

@raubel
Copy link

raubel commented Oct 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant