<?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 Invoke share webscript  from external software in a authenticated way in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/invoke-share-webscript-from-external-software-in-a-authenticated/m-p/290367#M243497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it possibile to invoke custom web script from external software in a authenticated way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How to deal with authentication mechanism? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I understood, Alf_ticket seems to be not recognized from Share…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is cookie (JSESSIONID) the only allowed mechanism?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advances,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Toma&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Mar 2013 18:05:34 GMT</pubDate>
    <dc:creator>3acascia</dc:creator>
    <dc:date>2013-03-15T18:05:34Z</dc:date>
    <item>
      <title>Invoke share webscript  from external software in a authenticated way</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoke-share-webscript-from-external-software-in-a-authenticated/m-p/290367#M243497</link>
      <description>Hi All,is it possibile to invoke custom web script from external software in a authenticated way?How to deal with authentication mechanism? As I understood, Alf_ticket seems to be not recognized from Share…Is cookie (JSESSIONID) the only allowed mechanism?Thanks in advances,Toma</description>
      <pubDate>Fri, 15 Mar 2013 18:05:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoke-share-webscript-from-external-software-in-a-authenticated/m-p/290367#M243497</guid>
      <dc:creator>3acascia</dc:creator>
      <dc:date>2013-03-15T18:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke share webscript  from external software in a authenticated way</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoke-share-webscript-from-external-software-in-a-authenticated/m-p/290368#M243498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it depends what you try to do. You can use SSO with NTLM or Kerberos, or obtain a ticket via the &lt;/SPAN&gt;&lt;A href="http://alfrescoserver/alfresco/s/api/login" rel="nofollow noopener noreferrer"&gt;http://alfrescoserver/alfresco/s/api/login&lt;/A&gt;&lt;SPAN&gt; API, but in that case you need the password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What you want is the ticket, not necessarily the JSESSIONID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 18:05:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoke-share-webscript-from-external-software-in-a-authenticated/m-p/290368#M243498</guid>
      <dc:creator>michaelböckling</dc:creator>
      <dc:date>2013-03-20T18:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke share webscript  from external software in a authenticated way</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoke-share-webscript-from-external-software-in-a-authenticated/m-p/290369#M243499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want to try to do, is call a site-webscript declared in Share in an authenticated way using alf_ticket obtained invoking &lt;/SPAN&gt;&lt;A href="http://alfrescoserver/alfresco/s/api/login" rel="nofollow noopener noreferrer"&gt;http://alfrescoserver/alfresco/s/api/login&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that it doesn't work…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Toma&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 08:26:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoke-share-webscript-from-external-software-in-a-authenticated/m-p/290369#M243499</guid>
      <dc:creator>3acascia</dc:creator>
      <dc:date>2013-03-21T08:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke share webscript  from external software in a authenticated way</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invoke-share-webscript-from-external-software-in-a-authenticated/m-p/290370#M243500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Toma,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;does this work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. call:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/service/api/login?u=admin&amp;amp;pw=admin" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/login?u=admin&amp;amp;pw=admin&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. extract the ticket (looks like TICKET_29ced6613a114294fa4bb9e67bf663112076f3d9)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. validate the ticket: &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/login/ticket/TICKET_29ced6613a114294fa4bb9e67bf663112076f3d9?alf_ticket=TICKET_29ced6613a114294fa4bb9e67b663112076f3d9" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/login/ticket/TICKET_29ced6613a114294fa4bb9e67bf663112076f3d9?alf_ticket=TICKET_29ced6613a114294fa4bb9e67b663112076f3d9&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you get 200/OK response? Can you call other repository webscripts with that ticket?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael Böckling&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 16:07:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invoke-share-webscript-from-external-software-in-a-authenticated/m-p/290370#M243500</guid>
      <dc:creator>michaelböckling</dc:creator>
      <dc:date>2013-03-21T16:07:31Z</dc:date>
    </item>
  </channel>
</rss>

