<?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 How to get the ticketId? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104231#M72781</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;I am trying to get the ticketId to avoid multiple logins in a jsp that essentially browses the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found a class in Alfresco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;InMemoryTicketComponentImpl which has a method getTicketId() which should solve my problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is,&amp;nbsp; how to get a handle to the intstance of the class that has the current ticketId in a jsp.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NS&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2007 14:05:17 GMT</pubDate>
    <dc:creator>neelesh100</dc:creator>
    <dc:date>2007-07-17T14:05:17Z</dc:date>
    <item>
      <title>How to get the ticketId?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104231#M72781</link>
      <description>Hi, I am trying to get the ticketId to avoid multiple logins in a jsp that essentially browses the repository.I have found a class in Alfresco:InMemoryTicketComponentImpl which has a method getTicketId() which should solve my problem. My question is,&amp;nbsp; how to get a handle to the intstance of the clas</description>
      <pubDate>Tue, 17 Jul 2007 14:05:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104231#M72781</guid>
      <dc:creator>neelesh100</dc:creator>
      <dc:date>2007-07-17T14:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the ticketId?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104232#M72782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We store the authenticated User object in the HTTP session using a key of "_alfAuthTicket".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Within the JSP you can retrieve this object from the request object and then call getTicket().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 07:37:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104232#M72782</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2007-07-18T07:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the ticketId?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104233#M72783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I will try this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;N.S&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 15:22:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104233#M72783</guid>
      <dc:creator>neelesh100</dc:creator>
      <dc:date>2007-07-18T15:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the ticketId?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104234#M72784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, following up on this same topic, how would I get the "_alfAuthTicket" and then the ticket in&amp;nbsp; a .ftl file that is being used by a websrcipt?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;N.S&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 16:05:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104234#M72784</guid>
      <dc:creator>neelesh100</dc:creator>
      <dc:date>2007-07-19T16:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the ticketId?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104235#M72785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately you can't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The HTTP request object is not available to freemarker templates during their execution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 12:40:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104235#M72785</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2007-07-20T12:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the ticketId?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104236#M72786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I understand the question correctly, you can use&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;$(session.ticket}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;within a Freemarker template to get the authentication ticket as a string.&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>Fri, 20 Jul 2007 13:18:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104236#M72786</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2007-07-20T13:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the ticketId?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104237#M72787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, you did understand my question correctly. I had figured it out, I was just going to post that, but thanks anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;N.S&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 13:59:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-ticketid/m-p/104237#M72787</guid>
      <dc:creator>neelesh100</dc:creator>
      <dc:date>2007-07-23T13:59:59Z</dc:date>
    </item>
  </channel>
</rss>

