05-03-2012 02:28 AM
Starting with Alfresco 4, the web script based CMIS implementation (http://localhost:8080/alfresco/service/cmis) is deprecated. Where possible, you should use the OpenCMIS implementation instead (http://localhost:8080/alfresco/cmisatom).
In a quick test using curl, I noticed that when a user does not have access to Company Home, the old implementation fails while the new implementation succeeds.
Jeff
05-03-2012 03:39 PM
05-04-2012 02:05 AM
06-21-2012 03:57 AM
Ticket can be specified in password, if any of the following are true:
a) username is not specified (i.e. null, or length of zero)
b) username is equal to "ROLE_TICKET" (case insensitive)
06-22-2012 01:22 AM
>>> client = CmisClient('http://localhost:8080/alfresco/cmisatom', '', 'TICKET_e5ce8e2a36af2188dbda30bee4d0633db4605a6c')
>>> repo = client.defaultRepository
>>> repo.id
u'1b8980cc-1f1b-4ac3-b26f-17aeee0cefc9'
>>> repo.name
u'Main Repository'
>>> repo.rootFolder.name
u'Company Home'
Thanks, Jean-Marie!07-13-2012 05:19 AM
Hello,
The answer is here : https://issues.alfresco.com/jira/browse/ALF-7074Ticket can be specified in password, if any of the following are true:
a) username is not specified (i.e. null, or length of zero)
b) username is equal to "ROLE_TICKET" (case insensitive)
Hope it helps
07-13-2012 05:20 AM
Works like a charm…Thanks, Jean-Marie!>>> client = CmisClient('http://localhost:8080/alfresco/cmisatom', '', 'TICKET_e5ce8e2a36af2188dbda30bee4d0633db4605a6c')
>>> repo = client.defaultRepository
>>> repo.id
u'1b8980cc-1f1b-4ac3-b26f-17aeee0cefc9'
>>> repo.name
u'Main Repository'
>>> repo.rootFolder.name
u'Company Home'
Jeff
05-26-2014 10:37 AM
05-26-2014 11:10 AM
08-17-2015 12:28 PM
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.