I have a custom authentication module that works for JBoss 7.1+. It uses a valve to decode a header and a login module to properly set the user's context. I know WildFly uses undertow instead of Tomcat and I'm trying to build a WildFly compatible version of my module. Doing some searching I found the following on undertow.io:
And I've found a few other references in wildfly but nothing that brings it together. I think I'm missing how the undertow custom authentication is configured in WildFly and how it ties together with a webapp. Any help would be greatly appreciated.