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