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...")
(No difference)

Revision as of 16:08, 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);