repo.registerComponent(infoMaster, master);
repo.getRestComponents().publish(infoMaster, new DataSecurityMasterResource(master));
final ComponentInfo infoSource = new ComponentInfo(SecuritySource.class, "test");
repo.registerComponent(infoSource, source);
repo.getRestComponents().publish(infoSource, new DataSecuritySourceResource(source));
}