[undertow-dev] How to do custom authentication?
Tomaž Cerar
tomaz.cerar at gmail.com
Thu Oct 16 07:16:43 EDT 2014
On Thu, Oct 16, 2014 at 12:47 AM, Stuart Douglas <sdouglas at 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20141016/82a71857/attachment-0001.html
More information about the undertow-dev
mailing list