Hello all,
It looks like Wildfly 10 changes a method interface in undertow and the keycloak is still
linking against the old method. Going across a redirect, I get this exception:
java.lang.NoSuchMethodError:
io.undertow.server.Connectors.ungetRequestBytes(Lio/undertow/server/HttpServerExchange;[Lorg/xnio/Pooled;)V
org.keycloak.adapters.undertow.SavedRequest.tryRestoreRequest(SavedRequest.java:112)
org.keycloak.adapters.undertow.ServletSessionTokenStore.restoreRequest(ServletSessionTokenStore.java:119)
org.keycloak.adapters.undertow.ServletSessionTokenStore.isCached(ServletSessionTokenStore.java:67)
org.keycloak.adapters.RequestAuthenticator.authenticate(RequestAuthenticator.java:85)
org.keycloak.adapters.undertow.AbstractUndertowKeycloakAuthMech.keycloakAuthenticate(AbstractUndertowKeycloakAuthMech.java:114)
org.keycloak.adapters.undertow.ServletKeycloakAuthMech.authenticate(ServletKeycloakAuthMech.java:94)
Looking at this commit:
https://github.com/undertow-io/undertow/commit/b62c3f1efadeb86d94ed6577f5...
the parameters changed type (from Pooled<ByteBuffer> to PooledByteBuffer).
This is called from here:
https://github.com/keycloak/keycloak/blob/master/integration/undertow/src...
I'm guessing the call on 112 needs to make the new object type?
Should I file a bug in the JIRA?
Thanks,
Kenn