Thanks everyone. So would the beat approach be to use a http and let to invoke a jaspic class or to invoke an undertow authentication class?

Thanks
Marc

On Oct 16, 2014 7:16 AM, "Tomaž Cerar" <tomaz.cerar@gmail.com> wrote:

On Thu, Oct 16, 2014 at 12:47 AM, Stuart Douglas <sdouglas@redhat.com> wrote:
The equivalent of a valve is a HttpHandler, you can wire them up programatically via jboss-web.xml, something like:


Or since upcoming wildfly 8.2 and 9 it is also possible as global configuration in undertow subsystem

 <host name="default-host" alias="localhost, some.host" default-web-module="something.war">
            <location name="/" handler="welcome-content">
                <filter-ref name="custom-filter"/>
....
 </host>
....

<filters>
        <filter name="custom-filter" class-name="io.undertow.server.handlers.HttpTraceHandler" module="io.undertow.core" />
    </filters>