Java 在OSGI包中使用Spring安全过滤器

Java 在OSGI包中使用Spring安全过滤器,java,web-services,spring-security,osgi,fuseesb,Java,Web Services,Spring Security,Osgi,Fuseesb,我需要使用Spring Security保护基于CXF的web服务 我已经让web服务在Tomcat上运行,但Fuse ESB上的部署不起作用。 我们有一个Spring配置文件,其中包含以下内容: .... <sec:http authentication-manager-ref="authenticationManager" use-expressions="true"> <sec:http-basic /> <sec:intercept-

我需要使用Spring Security保护基于CXF的web服务

我已经让web服务在Tomcat上运行,但Fuse ESB上的部署不起作用。 我们有一个Spring配置文件,其中包含以下内容:

....
<sec:http authentication-manager-ref="authenticationManager"
    use-expressions="true">
    <sec:http-basic />
    <sec:intercept-url pattern="/**" access="isAuthenticated()" />
</sec:http>
...
在Tomcat上部署web服务时,我们使用以下web.xml:

...
<filter>
    <filter-name>springSecurityFilterChain</filter-name>
    <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
    <filter-name>springSecurityFilterChain</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>
...
当我们在Fuse上部署bundle时,由于我们没有web.xml,web服务是不安全的,即spring安全过滤器不工作。 我的问题是:

我们如何在Fuse ESB中声明Spring security fitlers?i、 e web.xml中的几行的等价物是什么

问候,


Jeremy

Cxf/Fuse ESB服务将基于标准拥有自己的安全实现。您可以在他们的项目/产品文档中了解更多信息。如果您正在osgi平台上寻找spring应用程序,那么请探索SpringDM动态模块