final ComponentInfo info = new ComponentInfo(SecurityProvider.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteSecurityProvider.class);
repo.registerComponent(info, provider);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataSecurityProviderResource(provider));
}
}