hazelcast / hazelcast-wm

Hazelcast filter-based Web Session Manager
Other
12 stars 31 forks source link

Bundle metadata prevent from using Spring Security 4+ #169

Open raubel opened 4 weeks ago

raubel commented 4 weeks ago

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.