How can I define a global servlet filter for all WEB applications deployed in EAP 6?
Issue
- We created several servlet filters using the
@WebFilterannotation 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)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
