Configuring a Custom Undertow Filter in WildFly: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


* [[Undertow WildFly Subsystem Configuration#Configuring_a_Custom_Undertow_Filter_in_WildFly|Undertow WildFly Subsystem Configuration]]
* [[Undertow WildFly Subsystem Configuration#Configuring_a_Custom_Undertow_Filter_in_WildFly|Undertow WildFly Subsystem Configuration]]
=Example=
<blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;">
:<br>https://github.com/NovaOrdis/playground/tree/master/wildfly/custom-module<br><br>
</blockquote>


=Overview=
=Overview=

Revision as of 08:40, 19 January 2016

Internal

Example


https://github.com/NovaOrdis/playground/tree/master/wildfly/custom-module

Overview

In order to install a custom filter in WildFly Undertow instance, you will need to wrap the filter class in a WildFly module, deploy the module and configure the Undertow subsystem to use the custom filter.

Write the Filter Class

Create and Deploy a WildFly Module

In order to be made available to the Undertow subsystem, the custom filter code must be deployed as a WildFly Module. For more details on how to build and deploy a custom module, see:

Writing a Custom WildFly Module

Configure the WildFly Subsystem