<?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 Re: ticket and webscripts in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190828#M143958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm surprised you haven't received an answer to this question yet.&amp;nbsp; I have the same question/problem.&amp;nbsp; The "companyhome" root object is not available when you set authentication to guest or none.&amp;nbsp; I'll let you know if I find out anything.&amp;nbsp; From the JavaScript/WebScript documentation at wiki.alfresco.com, I don't believe it is possible to authenticate using a webscript.&amp;nbsp; You may have to write a quick servlet Filter that invokes AuthenticationUtils.startSession(username, password) and places the ticket into session.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2008 21:52:48 GMT</pubDate>
    <dc:creator>stevewickii</dc:creator>
    <dc:date>2008-10-06T21:52:48Z</dc:date>
    <item>
      <title>ticket and webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190827#M143957</link>
      <description>I have a web script, 'GetDocuments', that returns a list of documents from a space that has CompanyHome as its top-level parent. In order to be able to&amp;nbsp; "see" things under company home the webscript needs to be authenticated. I can set the authentication mode to user/guest/.. etc and when I execute</description>
      <pubDate>Wed, 10 Sep 2008 21:59:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190827#M143957</guid>
      <dc:creator>eg</dc:creator>
      <dc:date>2008-09-10T21:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: ticket and webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190828#M143958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm surprised you haven't received an answer to this question yet.&amp;nbsp; I have the same question/problem.&amp;nbsp; The "companyhome" root object is not available when you set authentication to guest or none.&amp;nbsp; I'll let you know if I find out anything.&amp;nbsp; From the JavaScript/WebScript documentation at wiki.alfresco.com, I don't believe it is possible to authenticate using a webscript.&amp;nbsp; You may have to write a quick servlet Filter that invokes AuthenticationUtils.startSession(username, password) and places the ticket into session.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 21:52:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190828#M143958</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-10-06T21:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: ticket and webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190829#M143959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The login webscript / append ticket method will work fine using "user" authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ticket should be passed in the &lt;/SPAN&gt;&lt;STRONG&gt;alf_ticket&lt;/STRONG&gt;&lt;SPAN&gt; parameter using the "/service" webscript servlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 06:55:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190829#M143959</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-10-07T06:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: ticket and webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190830#M143960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this possible to verify &lt;/SPAN&gt;&lt;STRONG&gt;validity&lt;/STRONG&gt;&lt;SPAN&gt; of a ticket?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I couldn't find solution yet, but should be helpful…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 06:59:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190830#M143960</guid>
      <dc:creator>louise</dc:creator>
      <dc:date>2008-10-07T06:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: ticket and webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190831#M143961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://wiki.alfresco.com/wiki/HTTP_API_Reference#Package:_.2Forg.2Falfresco.2Frepository" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/HTTP_API_Reference#Package:_.2Forg.2Falfresco.2Frepository&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you make a GET request to /service/api/login/ticket/TICKET_… you'll either get back an HTTP 404 or 200 OK plus the ticket in the body.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 08:54:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ticket-and-webscripts/m-p/190831#M143961</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-10-07T08:54:12Z</dc:date>
    </item>
  </channel>
</rss>

