1 Reply Latest reply on Mar 15, 2014 1:17 PM by Wolf-Dieter Fink

    Create a global filter in JBoss 7

    Vova Petrov Newbie

      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!