Hi Keycloak developers,
 
I've started to tackle adding Jetty 9.3 to Keycloak 2.0 here: https://github.com/ahus1/keycloak/tree/jetty_9_3
 
The changes were minimal: 
 
old: myRequest.setMethod(HttpMethod.valueOf(method.toUpperCase()), method);
new: myRequest.setMethod(method);
 
old: return (req instanceof Request) ? (Request)req : HttpChannel.getCurrentHttpChannel().getRequest();
new: return Request.getBaseRequest(req);
 
old:
    @Override
    protected Authentication createAuthentication(UserIdentity userIdentity) {
        return new KeycloakAuthentication(getAuthMethod(), userIdentity) {
            @Override
            public void logout() {
                logoutCurrent(HttpChannel.getCurrentHttpChannel().getRequest());
            }
        };
    }
new (added method parameter request):
    @Override
    protected Authentication createAuthentication(UserIdentity userIdentity, final Request request) {
        return new KeycloakAuthentication(getAuthMethod(), userIdentity) {
            @Override
            public void logout() {
                logoutCurrent(request);
            }
        };
    }
 
Feedback is welcome. I still have to add some more details to the distribution parts of keycloak.
 
Best regards,
Alexander
 
--
Alexander Schwartz (alexander.schwartz@gmx.net)
http://www.ahus1.de