import javax.jcr.RepositoryFactory;
import javax.jcr.Session;
-import org.apache.jackrabbit.core.security.authentication.LocalAuthContext;
import org.argeo.jackrabbit.client.ClientDavexRepositoryFactory;
import org.argeo.jcr.ArgeoJcrException;
import org.argeo.jcr.fs.JcrFileSystem;
throws IOException {
Map<String, String> params = new HashMap<String, String>();
params.put(ClientDavexRepositoryFactory.JACKRABBIT_DAVEX_URI, repoUri.toString());
- params.put(ClientDavexRepositoryFactory.JACKRABBIT_REMOTE_DEFAULT_WORKSPACE, "main");
+ // FIXME make it configurable
+ params.put(ClientDavexRepositoryFactory.JACKRABBIT_REMOTE_DEFAULT_WORKSPACE, "sys");
Repository repository = null;
Session session = null;
try {