final ComponentInfo info = new ComponentInfo(SecurityEnhancer.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteSecurityEnhancer.class);
repo.registerComponent(info, loader);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataSecurityEnhancerResource(loader));
}
}