Remove node data model, home areas based on workspaces instead.
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / auth / CmsSessionImpl.java
index 010000f61b5f9b1c5bc40122b2f32709762092ec..ce38cf0ee94514ed445661707bb9d27e180e6563 100644 (file)
@@ -128,6 +128,10 @@ public class CmsSessionImpl implements CmsSession {
                return getSubject().getPrivateCredentials(SecretKey.class);
        }
 
+       public Session newDataSession(String cn, String workspace, Repository repository) {
+               return login(repository, workspace);
+       }
+
        public synchronized Session getDataSession(String cn, String workspace, Repository repository) {
                // FIXME make it more robust
                if (workspace == null)