Filter with * servlet-name binding is ignored on EAP 7

Solution Unverified - Updated -

Issue

  • We use a filter config like the following on EAP 6 and earlier but it seems to be ignored on EAP 7:

<filter> <filter-name>NAME</filter-name> <filter-class>org.app.filters.NAMEFilter</filter-class> </filter> <filter-mapping> <filter-name>NAME</filter-name> <servlet-name>*</servlet-name> </filter-mapping>

Environment

  • JBoss Enterprise Application Platform (EAP) 7.0.4 and earlier
  • Undertow

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content