How can I define a global servlet filter for all WEB applications deployed in EAP 6/7?
Issue
- We created several servlet filters using the
@WebFilter
annotation and made it available in a global module in EAP 6, however, it's not getting invoked when accessing the mapped context. - We added a global filter to deployers/jbossweb.deployer/web.xml in EAP 5. How to add a global filter to EAP 6 ?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.