<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Ticket authentication using new OpenCMIS URLs in Alfresco 4 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266672#M219802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Starting with Alfresco 4, the web script based CMIS implementation (&lt;A href="http://localhost:8080/alfresco/service/cmis" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/cmis&lt;/A&gt;) is deprecated. Where possible, you should use the OpenCMIS implementation instead (&lt;A href="http://localhost:8080/alfresco/cmisatom" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom&lt;/A&gt;).&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Jeff&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How should I authenticate the user to access &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom&lt;/A&gt;&lt;SPAN&gt; ? I've tried sending "alf_ticket" (&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom?alf_ticket=TICKET_bdbd0697d81a40f782ba8b54615abad21dc663fd" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom?alf_ticket=TICKET_bdbd0697d81a40f782ba8b54615abad21dc663fd&lt;/A&gt;&lt;SPAN&gt;) parameter obtained from &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/login?u=username&amp;amp;pw=password" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/login?u=username&amp;amp;pw=password&lt;/A&gt;&lt;SPAN&gt;. But still cmisatom gives "Authorization Required" error. I'm trying to hit URLs using curl not using any API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Though HTTP authentication works (curl –user "username&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;assword" &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom&lt;/A&gt;&lt;SPAN&gt;). But that way I have to send it with each request and alfresco will authenticate user everytime. Is there a similar way to use session token like alf_ticket with cmisatom url ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco version: 4.0.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Amit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2012 06:28:23 GMT</pubDate>
    <dc:creator>amitp85</dc:creator>
    <dc:date>2012-05-03T06:28:23Z</dc:date>
    <item>
      <title>Ticket authentication using new OpenCMIS URLs in Alfresco 4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266672#M219802</link>
      <description>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</description>
      <pubDate>Thu, 03 May 2012 06:28:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266672#M219802</guid>
      <dc:creator>amitp85</dc:creator>
      <dc:date>2012-05-03T06:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ticket authentication using new OpenCMIS URLs in Alfresco 4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266673#M219803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;amitp85,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know, to be honest. I just realized this didn't work this week. I'll ask around. This may take some debugging and some source inspection to figure out whether or not ticket authentication is intended to be supported with the OpenCMIS URLs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 19:39:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266673#M219803</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-05-03T19:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ticket authentication using new OpenCMIS URLs in Alfresco 4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266674#M219804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;jeff&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply. This is not a blocker, I appreciate if you can post an update in future.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Amit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 06:05:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266674#M219804</guid>
      <dc:creator>amitp85</dc:creator>
      <dc:date>2012-05-04T06:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ticket authentication using new OpenCMIS URLs in Alfresco 4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266675#M219805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The answer is here : &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-7074" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-7074&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ticket can be specified in password, if any of the following are true: &lt;BR /&gt;&lt;BR /&gt;a) username is not specified (i.e. null, or length of zero) &lt;BR /&gt;b) username is equal to "ROLE_TICKET" (case insensitive)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 07:57:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266675#M219805</guid>
      <dc:creator>jm_pascal</dc:creator>
      <dc:date>2012-06-21T07:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ticket authentication using new OpenCMIS URLs in Alfresco 4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266676#M219806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Works like a charm…&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;gt;&amp;gt;&amp;gt; client = CmisClient('&lt;A href="http://localhost:8080/alfresco/cmisatom" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom&lt;/A&gt;', '', 'TICKET_e5ce8e2a36af2188dbda30bee4d0633db4605a6c')&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; repo = client.defaultRepository&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; repo.id&lt;BR /&gt;u'1b8980cc-1f1b-4ac3-b26f-17aeee0cefc9'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; repo.name&lt;BR /&gt;u'Main Repository'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; repo.rootFolder.name&lt;BR /&gt;u'Company Home'&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Thanks, Jean-Marie!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 05:22:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266676#M219806</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-06-22T05:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ticket authentication using new OpenCMIS URLs in Alfresco 4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266677#M219807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;The answer is here : &lt;A href="https://issues.alfresco.com/jira/browse/ALF-7074" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-7074&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ticket can be specified in password, if any of the following are true: &lt;BR /&gt;&lt;BR /&gt;a) username is not specified (i.e. null, or length of zero) &lt;BR /&gt;b) username is equal to "ROLE_TICKET" (case insensitive)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Hope it helps&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;ah.. finally.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its working fine. Thanks a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 09:19:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266677#M219807</guid>
      <dc:creator>amitp85</dc:creator>
      <dc:date>2012-07-13T09:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ticket authentication using new OpenCMIS URLs in Alfresco 4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266678#M219808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Works like a charm…&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;gt;&amp;gt;&amp;gt; client = CmisClient('&lt;A href="http://localhost:8080/alfresco/cmisatom" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom&lt;/A&gt;', '', 'TICKET_e5ce8e2a36af2188dbda30bee4d0633db4605a6c')&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; repo = client.defaultRepository&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; repo.id&lt;BR /&gt;u'1b8980cc-1f1b-4ac3-b26f-17aeee0cefc9'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; repo.name&lt;BR /&gt;u'Main Repository'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; repo.rootFolder.name&lt;BR /&gt;u'Company Home'&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;Thanks, Jean-Marie!&lt;BR /&gt;&lt;BR /&gt;Jeff&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 09:20:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266678#M219808</guid>
      <dc:creator>amitp85</dc:creator>
      <dc:date>2012-07-13T09:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ticket authentication using new OpenCMIS URLs in Alfresco 4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266679#M219809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That means, I need to use the not cmis-standard url &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/login?u=username&amp;amp;pw=password" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/login?u=username&amp;amp;pw=password&lt;/A&gt;&lt;SPAN&gt; to authenticate later against cmis?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any cmis-pure way?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 14:37:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266679#M219809</guid>
      <dc:creator>r_kubiak</dc:creator>
      <dc:date>2014-05-26T14:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ticket authentication using new OpenCMIS URLs in Alfresco 4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266680#M219810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have username and password ,you can just use them to authenticate direclty using OpenCMIS instead of using ticket.There are many examples you can find.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 15:10:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266680#M219810</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-05-26T15:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ticket authentication using new OpenCMIS URLs in Alfresco 4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266681#M219811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The "old" URL: &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom&lt;/A&gt;&lt;SPAN&gt; written in &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.0/pra/1/tasks/opencmis-ext-workbench.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/pra/1/tasks/opencmis-ext-workbench.html&lt;/A&gt;&lt;SPAN&gt; doesn't seem to work with ticket based authentication on 4.2.x, but the following one does:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/&lt;/A&gt;&lt;SPAN&gt; from &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/community/pra/1/concepts/cmis-request-url-format-onpremise.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/community/pra/1/concepts/cmis-request-url-format-onpremise.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure whether this is related but the "old" URL has a pattern /cmisatom that's being intercepted by a "CMIS security context cleaning filter" in web.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 16:28:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-authentication-using-new-opencmis-urls-in-alfresco-4/m-p/266681#M219811</guid>
      <dc:creator>ctan</dc:creator>
      <dc:date>2015-08-17T16:28:22Z</dc:date>
    </item>
  </channel>
</rss>

