<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, "Tomaž Cerar" <<a href="mailto:tomaz.cerar@gmail.com">tomaz.cerar@gmail.com</a>> 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"><<a href="mailto:sdouglas@redhat.com" target="_blank">sdouglas@redhat.com</a>></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> <host name="default-host" alias="localhost, some.host" default-web-module="something.war"><br> <location name="/" handler="welcome-content"><br> <filter-ref name="custom-filter"/><br>....<br> </host> <br>....<br><br><filters><br> <filter name="custom-filter" class-name="io.undertow.server.handlers.HttpTraceHandler" module="io.undertow.core" /><br> </filters><br><br><br></div></div>
</blockquote></div>