[undertow-dev] How to do custom authentication?

Marc Boorshtein marc.boorshtein at tremolosecurity.com
Thu Oct 16 08:04:06 EDT 2014


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 at gmail.com> wrote:

>
> 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/5f347299/attachment.html 


More information about the undertow-dev mailing list