<?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: Problem downloading blob with url in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316138#M3139</link>
    <description>&lt;P&gt;Hello Thierry,&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2014 14:19:02 GMT</pubDate>
    <dc:creator>djoncour_</dc:creator>
    <dc:date>2014-01-27T14:19:02Z</dc:date>
    <item>
      <title>Problem downloading blob with url</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316136#M3137</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a problem when I want to download a blob with a url like this on my website&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;localhost:8080/nuxeo/nxfile/default/*/blobholder:0/*
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I use authentification CAS2_AUTH and ANONYMOUS_AUTH. But when I am connect to this for the first time, I can't download it but a windows is prompt with differents repositories. And when I come back on website i can download it.
But I want to download it without a windows is prompted for the first login.&lt;/P&gt;
&lt;P&gt;This is my configuration&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension
    target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
    point="chain"&amp;gt;
    &amp;lt;authenticationChain&amp;gt;
        &amp;lt;plugins&amp;gt;
            &amp;lt;plugin&amp;gt;BASIC_AUTH&amp;lt;/plugin&amp;gt;
            &amp;lt;plugin&amp;gt;PORTAL_AUTH&amp;lt;/plugin&amp;gt;
            &amp;lt;plugin&amp;gt;CAS2_AUTH&amp;lt;/plugin&amp;gt;
            &amp;lt;plugin&amp;gt;ANONYMOUS_AUTH_FOR_CAS2&amp;lt;/plugin&amp;gt;
        &amp;lt;/plugins&amp;gt;
    &amp;lt;/authenticationChain&amp;gt;
&amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It's very strange because if I delete the AUNONYMOUS_AUTH and If I connect to my wrbsite without connected on nuxeo I can download it. But if I let this line I have the problem that I describe on top of this topic.&lt;/P&gt;
&lt;P&gt;And my log I have this following error but I don't want to give anonymous read rights for this document&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;ERROR [org.nuxeo.ecm.core.api.CoreSession] Permission 'Read' is not granted to 'guest' on document
ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo]] Session event listener threw exception
java.lang.IllegalStateException: Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate()
at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoSecurityExceptionHandler.handleAnonymousException(NuxeoSecurityExceptionHandler.j
ava:89)
at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoSecurityExceptionHandler.handleException(NuxeoSecurityExceptionHandler.java:71)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I really don't ubderstand what is my problem, If my configuration is bad or something like that.
Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2014 01:37:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316136#M3137</guid>
      <dc:creator>djoncour_</dc:creator>
      <dc:date>2014-01-26T01:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem downloading blob with url</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316137#M3138</link>
      <description>&lt;P&gt;what version of Nuxeo and hotfixes are you using?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 12:09:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316137#M3138</guid>
      <dc:creator>Thierry_Martins</dc:creator>
      <dc:date>2014-01-27T12:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem downloading blob with url</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316138#M3139</link>
      <description>&lt;P&gt;Hello Thierry,&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 14:19:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316138#M3139</guid>
      <dc:creator>djoncour_</dc:creator>
      <dc:date>2014-01-27T14:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem downloading blob with url</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316139#M3140</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;HF29 includes a fix to a similar problem: &lt;A href="https://jira.nuxeo.com/browse/NXP-12491" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXP-12491&lt;/A&gt;
it worths a try to check if it fixes your problem too.&lt;/P&gt;
&lt;P&gt;Thierry&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 14:24:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316139#M3140</guid>
      <dc:creator>Thierry_Martins</dc:creator>
      <dc:date>2014-01-27T14:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem downloading blob with url</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316140#M3141</link>
      <description>&lt;P&gt;Thanks a lot for your help Thierry.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 14:50:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316140#M3141</guid>
      <dc:creator>djoncour_</dc:creator>
      <dc:date>2014-01-27T14:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem downloading blob with url</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316141#M3142</link>
      <description>&lt;P&gt;Hello Thierry,&lt;/P&gt;
&lt;P&gt;Now, I use the 5.6 version with HF29, nuxeo-platform-login-cas2-5.6.jar and the same configuration which is written in this ticket [https://jira.nuxeo.com/browse/NXP-12491][1].
Now I can download a document by a direct link with Firefox and Chrome but not with IE 9 10 and 11. When Itry to download one, I automatically redirect on logout CAS page. But with IE 8 it works fine.&lt;/P&gt;
&lt;P&gt;Thank you for your help&lt;/P&gt;
&lt;P&gt;David
[1]: &lt;A href="https://jira.nuxeo.com/browse/NXP-12491" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXP-12491&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2014 22:16:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-downloading-blob-with-url/m-p/316141#M3142</guid>
      <dc:creator>djoncour_</dc:creator>
      <dc:date>2014-01-30T22:16:44Z</dc:date>
    </item>
  </channel>
</rss>

