Updating JAXRS SecurityContext to better check for CXF SecurityContext