Plumbing for setting SecurityContext in Jersey and method level security checking