Custom WildFly JBossWeb Valve Initialization EAP 6.4.10: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= =Overview= The initialization is handled by <tt>org.jboss.as.web.WebValveService</tt>, which only handles global valves. The valves that subclass <tt>org.apache.c...")
 
 
Line 1: Line 1:
=Internal=
=Internal=
* [[Custom_WildFly_JBossWeb_Valve#Global_Valve_Initialization|Custom WildFly JBossWeb Valve]]


=Overview=
=Overview=

Latest revision as of 16:09, 28 February 2017

Internal

Overview

The initialization is handled by org.jboss.as.web.WebValveService, which only handles global valves. The valves that subclass org.apache.catalina.authenticator.AuthenticatorBase are handled differently. Once the valve instance is instantiated and configured, it is added to the webServer:

org.jboss.as.web.WebServer webServer = ...
webServer.getValue().addValve(valve);