<?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: Web Script randomly throws acegisecurity exception in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/web-script-randomly-throws-acegisecurity-exception/m-p/132785#M93280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suspect it's not randomly throwing that exception, but on every request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is that you've specified &amp;lt;authentication&amp;gt;none&amp;lt;/authentication&amp;gt; in your web script definition, but then proceed to attempt to access data in the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To access the repo, you must be authenticated.&amp;nbsp; So, change none to guest, user or admin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're invoking the Web Script via HTTP and a URL that starts with /alfresco/service, you'll be asked to login.&amp;nbsp; You can force guest access by adding guest=true as a URL argument.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2007 19:15:24 GMT</pubDate>
    <dc:creator>davidc</dc:creator>
    <dc:date>2007-10-30T19:15:24Z</dc:date>
    <item>
      <title>Web Script randomly throws acegisecurity exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-randomly-throws-acegisecurity-exception/m-p/132784#M93279</link>
      <description>This is an odd bug that I've come across. I've been using a web script to browse a store and its nodes. The odd thing is that it randomly throws this exception:net.sf.acegisecurity.AuthenticationCredentialsNotFoundException - A valid SecureContext was not provided in the RequestContext‍‍Sometimes it</description>
      <pubDate>Tue, 30 Oct 2007 18:56:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-randomly-throws-acegisecurity-exception/m-p/132784#M93279</guid>
      <dc:creator>a_band</dc:creator>
      <dc:date>2007-10-30T18:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script randomly throws acegisecurity exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-randomly-throws-acegisecurity-exception/m-p/132785#M93280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suspect it's not randomly throwing that exception, but on every request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is that you've specified &amp;lt;authentication&amp;gt;none&amp;lt;/authentication&amp;gt; in your web script definition, but then proceed to attempt to access data in the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To access the repo, you must be authenticated.&amp;nbsp; So, change none to guest, user or admin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're invoking the Web Script via HTTP and a URL that starts with /alfresco/service, you'll be asked to login.&amp;nbsp; You can force guest access by adding guest=true as a URL argument.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 19:15:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-randomly-throws-acegisecurity-exception/m-p/132785#M93280</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-10-30T19:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script randomly throws acegisecurity exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-randomly-throws-acegisecurity-exception/m-p/132786#M93281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks, davidc! It was actually happening randomly for some reason but I changed my webscript to authenticate and it worked great.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 22:53:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-randomly-throws-acegisecurity-exception/m-p/132786#M93281</guid>
      <dc:creator>a_band</dc:creator>
      <dc:date>2007-10-31T22:53:38Z</dc:date>
    </item>
  </channel>
</rss>

