MethodInjector methodInjector =
ResteasyProviderFactory.getInstance().getInjectorFactory()
.createMethodInjector(method.getResourceClass(), method.getMethod());
return methodInjector.injectArguments(request, response);
}
protected void denyAccess(Principal principal, Method method) {
log.warn("Refusing principal: {} access to: {} ", principal,
method.getName());