Hi all,
I'm trying to setup a small example of Keycloak's Undertow adapter.
Using Keycloak 1.9.7.Final and Undertow 1.3.15.Final
I've read about the Undertow's security model (SecurityContext,
AuthenticationMechanism, SecurityInitialHandler, etc) [1]
Part of my sample code was borrowed from Keycloak's ProxyServer [2]
However, I'm not able to "trigger/force" the authentication. The
SecurityContext is there, but the authentication state is
`NOT_ATTEMPTED`. Any hints on what I'm doing wrong in this code? [3]
[1]
http://undertow.io/undertow-docs/undertow-docs-1.3.0/index.html#security
[2]
https://github.com/keycloak/keycloak/blob/1.9.7.Final/proxy/proxy-server/...
[3]
https://github.com/iperdomo/undertow-keycloak/blob/master/src/main/java/S...
Thanks,
--
Iván