我有这样的过滤器配置:
<filter>
<filter-name>Jersey Web Application</filter-name>
<filter-class>com.sun.jersey.spi.container.servlet.ServletContainer</filter-class>
<init-param>
<param-name>com.sun.jersey.config.property.WebPageContentRegex</param-name>
<param-value>/(images|js|styles|(WEB-INF/jsp))/.*</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.config.property.JSPTemplatesBasePath</param-name>
<param-value>/WEB-INF/jsp</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>pl.psnc.dl.wf4ever</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
<param-value>pl.psnc.dl.wf4ever.auth.SecurityFilter</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>Jersey Web Application</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
我想保留这个过滤器
<param-value>pl.psnc.dl.wf4ever.auth.SecurityFilter</param-value>
但我还需要添加与此非常相似的下一个过滤器。我如何定义使用下一个 fitler 让我们说
<param-value>pl.psnc.dl.wf4ever.auth.SecurityFilterAdmin</param-value>