<?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: DownloadContentServlet session timeout in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139808#M97963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thx a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Mar 2009 13:51:04 GMT</pubDate>
    <dc:creator>sisao</dc:creator>
    <dc:date>2009-03-13T13:51:04Z</dc:date>
    <item>
      <title>DownloadContentServlet session timeout</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139802#M97957</link>
      <description>Hi,I am using the Web Services API to get a ticket without using the web-client login screen.As configured in the authentication-context-service.xml file by default (Community Alfresco 2.1), the ticket should not expire.But the DownloadContentServlet will timeout if the period of inactivity exceeds</description>
      <pubDate>Tue, 04 Sep 2007 17:14:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139802#M97957</guid>
      <dc:creator>sylvain78</dc:creator>
      <dc:date>2007-09-04T17:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: DownloadContentServlet session timeout</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139803#M97958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I still haven't found what is causing this, but it might have something to do with the ldap connector I am using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will post the solution to my problem when I find it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 14:22:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139803#M97958</guid>
      <dc:creator>sylvain78</dc:creator>
      <dc:date>2007-09-05T14:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: DownloadContentServlet session timeout</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139804#M97959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm facing same issue with same conditions. When the ticket is "expired", i got some access denied errors, but no way to retrieve the file, that's why i'm &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;looking for the best way to solve this issue ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got some ideas but i need your opinions : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first quick fix would be enabling guestDownload and removing tickets … but for later use i can't retain this solution cause of audit needs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second way could be removing the ticket, then using the noderef instead of path url, which permit to log through the login page to access the file (using the downloadservlet with ticket doesnt allow me to do this; or maybe i made a mistake) and using sso in second time to avoid the login page&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 08:55:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139804#M97959</guid>
      <dc:creator>maxmax</dc:creator>
      <dc:date>2008-10-30T08:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: DownloadContentServlet session timeout</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139805#M97960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;solved using ntlm/sso&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 15:40:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139805#M97960</guid>
      <dc:creator>maxmax</dc:creator>
      <dc:date>2009-01-13T15:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: DownloadContentServlet session timeout</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139806#M97961</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;can i have more information on how ntlm/sso would solve this issue? Will the LDAP work either?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 09:30:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139806#M97961</guid>
      <dc:creator>sisao</dc:creator>
      <dc:date>2009-03-13T09:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: DownloadContentServlet session timeout</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139807#M97962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In fact, when you setup the filters authentication, you can force download components to use the authentication … so in the case the ticket is expired, your connection will pass trhrough ntlm auth&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To do the trick, n&amp;nbsp; /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/web.xml you can add/modify this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(of course ntlm need to be properly enable &amp;amp; working before. From memories, this was no working with ldap auth. )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;filter-mapping&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;filter-name&amp;gt;Authentication Filter&amp;lt;/filter-name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;url-pattern&amp;gt;/download/*&amp;lt;/url-pattern&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/filter-mapping&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;filter-mapping&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;filter-name&amp;gt;Authentication Filter&amp;lt;/filter-name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;url-pattern&amp;gt;/d/d/*&amp;lt;/url-pattern&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/filter-mapping&amp;gt;&lt;BR /&gt;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 12:22:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139807#M97962</guid>
      <dc:creator>maxmax</dc:creator>
      <dc:date>2009-03-13T12:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: DownloadContentServlet session timeout</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139808#M97963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thx a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 13:51:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139808#M97963</guid>
      <dc:creator>sisao</dc:creator>
      <dc:date>2009-03-13T13:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: DownloadContentServlet session timeout</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139809#M97964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;well even using the default auth system may work in my case, alfresco is acting as a repository for documents generated by a separate application, in which we map the documents and let the users download their stuff from alfresco directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;They dont have users accounts in alfresco, but the application is the only one with a limited account, opening and destroying sessions via the WS API in order to upload and delete documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problems occure with the downloads beacuse if the session is killed then any http request made to alfresco to /d/a/workspace/SpacesStore/uuid/filename will force the repository to ask the user for a login in order to download the file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To avoid this i just refresh the session in the same time that particualr jsp is loaded (the one with the archive view…) without destroying it….it will rewrite the ticket everytime that page is refreshed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this not the proper workaround but it lets us to keep on developing while having people not stop working on their workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm quite curious to see how the repository will handle multiple requests made thorugh the same account via webservices API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 14:20:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/downloadcontentservlet-session-timeout/m-p/139809#M97964</guid>
      <dc:creator>sisao</dc:creator>
      <dc:date>2009-03-17T14:20:58Z</dc:date>
    </item>
  </channel>
</rss>

