Remove deprecated APIs
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / kernel / NodeHttp.java
index 0510b3c837116053f1ac5c8265e5c2213b96885d..abaadb0b14733a8633a8d9598db6fd0bd571b29c 100644 (file)
@@ -116,7 +116,7 @@ class NodeHttp implements KernelConstants {
                                        @Override
                                        public Session run() throws Exception {
                                                Collection<ServiceReference<Repository>> srs = bc.getServiceReferences(Repository.class, "("
-                                                               + NodeConstants.JCR_REPOSITORY_ALIAS + "=" + NodeConstants.ALIAS_NODE + ")");
+                                                               + NodeConstants.CN + "=" + NodeConstants.NODE + ")");
                                                Repository repository = bc.getService(srs.iterator().next());
                                                return repository.login();
                                        }