CMS-4457 Implement REST method getPrincipalById