<p dir="ltr">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?</p>
<p dir="ltr">Thanks<br>
Marc</p>
<div class="gmail_quote">On Oct 16, 2014 7:16 AM, &quot;Tomaž Cerar&quot; &lt;<a href="mailto:tomaz.cerar@gmail.com">tomaz.cerar@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 16, 2014 at 12:47 AM, Stuart Douglas <span dir="ltr">&lt;<a href="mailto:sdouglas@redhat.com" target="_blank">sdouglas@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The equivalent of a valve is a HttpHandler, you can wire them up programatically via jboss-web.xml, something like:</blockquote></div><br><br></div><div class="gmail_extra">Or since upcoming wildfly 8.2 and 9 it is also possible as global configuration in undertow subsystem<br><br> &lt;host name=&quot;default-host&quot; alias=&quot;localhost, some.host&quot; default-web-module=&quot;something.war&quot;&gt;<br>            &lt;location name=&quot;/&quot; handler=&quot;welcome-content&quot;&gt;<br>                &lt;filter-ref name=&quot;custom-filter&quot;/&gt;<br>....<br> &lt;/host&gt; <br>....<br><br>&lt;filters&gt;<br>        &lt;filter name=&quot;custom-filter&quot; class-name=&quot;io.undertow.server.handlers.HttpTraceHandler&quot; module=&quot;io.undertow.core&quot; /&gt;<br>    &lt;/filters&gt;<br><br><br></div></div>
</blockquote></div>