[keycloak-user] Problem with Keycloak WF 9 adapter and Wildfly 10 CR2
Flynn, Kenneth
kflynn at cghtech.com
Sun Oct 18 22:53:01 EDT 2015
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/b62c3f1efadeb86d94ed6577f59a8705e0ba8cb5#diff-5f4196395618b4f5f665d36a4f3773cd
the parameters changed type (from Pooled<ByteBuffer> to PooledByteBuffer).
This is called from here:
https://github.com/keycloak/keycloak/blob/master/integration/undertow/src/main/java/org/keycloak/adapters/undertow/SavedRequest.javahttps://github.com/keycloak/keycloak/blob/master/integration/undertow/src/main/java/org/keycloak/adapters/undertow/SavedRequest.java
I'm guessing the call on 112 needs to make the new object type?
Should I file a bug in the JIRA?
Thanks,
Kenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151019/77bcba64/attachment.html
More information about the keycloak-user
mailing list