Hello.
class
org.nuxeo.ecm.core.api.repository.Repository contains method open(Context)
What is it? Where can I find example of using it and possible variants of
values for the context.
Can I put there credentials to provide login?
HashMap<String, Serializable> ctx = new HashMap<String,
Serializable>(3);
ctx.put("username", "Administrator");
ctx.put("userpassword", "Administrator");
ctx.put("password", "Administrator");
RepositoryManager mgr = null;
CoreSession session = null;
mgr = Framework.getService(RepositoryManager.class);
Repository repo = mgr.getRepository(repository);
session = repo.open(ctx);
Alexander.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm