03-14-2014 05:06 AM
03-14-2014 10:45 AM
parameter.put(SessionParameter.ATOMPUB_URL, "http://localhost:8080/alfresco/cmisatom");
Map<String, String> parameter = new HashMap<String, String>();
parameter.put(SessionParameter.USER, "ROLE_TICKET");
parameter.put(SessionParameter.PASSWORD, ticket);
// Specify the connection settings
parameter.put(SessionParameter.ATOMPUB_URL, "http://localhost:8080/alfresco/cmisatom");
parameter.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());
parameter.put(SessionParameter.OBJECT_FACTORY_CLASS, "org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl");
// Create a session
SessionFactory factory = SessionFactoryImpl.newInstance();
Session session = factory.getRepositories(parameter).get(0).createSession();
03-14-2014 05:16 AM
03-14-2014 05:26 AM
03-14-2014 06:17 AM
03-14-2014 10:45 AM
parameter.put(SessionParameter.ATOMPUB_URL, "http://localhost:8080/alfresco/cmisatom");
Map<String, String> parameter = new HashMap<String, String>();
parameter.put(SessionParameter.USER, "ROLE_TICKET");
parameter.put(SessionParameter.PASSWORD, ticket);
// Specify the connection settings
parameter.put(SessionParameter.ATOMPUB_URL, "http://localhost:8080/alfresco/cmisatom");
parameter.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());
parameter.put(SessionParameter.OBJECT_FACTORY_CLASS, "org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl");
// Create a session
SessionFactory factory = SessionFactoryImpl.newInstance();
Session session = factory.getRepositories(parameter).get(0).createSession();
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.