I've changed my mind and implemented form based authentication, but answering on my previous question, I should write a ServletExtension
which adds an AuthenticationMechanism
to DeploymentInfo
. In AuthenticationMechanism
, there is a authenticate() method, which authenticate users. You can find a bit info in Undertow documentation.
Probably (before final) they will allow configuration via XML.