Hello everybody.
I want to create a global custom filter, that catches(for checking/modification etc) http-headers for all web-applications on server.
I tryied to apply my filter as a global-module in standalone.xml, but it doesn't work
<subsystem xmlns="urn:jboss:domain:ee:1.1"> <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement> <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement> <global-modules> <module name="com.myfilter.filter" slot="main"/> </global-modules> </subsystem>
Help me please!
You only add classes to the classpath for each application.
Now you need to add the filter settings to your application