I'd like to inject my own SecurityContext but I can't find any good example
of how to do this easily. I discovered the ResteasyProviderFactory class
and it seems like I might be able to use the
ResteasyProviderFactory.pushContext method but this wouldn't let me create
a different SecurityContext
I've been playing around with the AsynchronousResponse support and it seems
to work well but there's two big problems: (1) when a request finally times
out it seems Resteasy returns 200 OK with an empty response instead of
returning a 408 Request Timeout error (2) there's no way for me to register