<?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: Exception with &amp;lt;authentication&amp;gt;none&amp;lt;/authentication&amp;gt; in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158069#M112201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post the exception here, including the entire stack trace?&amp;nbsp; The logic of your Web Script's controller (JS / Java) would also be handy, if it's not too lengthy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Dec 2008 03:39:27 GMT</pubDate>
    <dc:creator>pmonks</dc:creator>
    <dc:date>2008-12-09T03:39:27Z</dc:date>
    <item>
      <title>Exception with &lt;authentication&gt;none&lt;/authentication&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158065#M112197</link>
      <description>I have created a simple webscript to list content articles. Using Alfresco Community &amp;amp; WCM 2.9.0B.It works fine with &amp;lt;authentication&amp;gt;admin&amp;lt;/authentication&amp;gt; (while logged in to Webclient as admin)But when I try to use &amp;lt;authentication&amp;gt;none&amp;lt;/authentication&amp;gt;I get the followin</description>
      <pubDate>Mon, 14 Jul 2008 06:49:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158065#M112197</guid>
      <dc:creator>kapil_k</dc:creator>
      <dc:date>2008-07-14T06:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exception with &lt;authentication&gt;none&lt;/authentication&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158066#M112198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kapil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that's not a Bug…that's a feature &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using "none" in authentication context you'll never get any informations out of the repository. You aren't authenticated, so spring security context cannot check your permissions on the node you are asking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use "none" if you want to build a WebScript which don't use any data out of the repo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using "guest" you will get access to all nodes where guest has sufficents permission, e.g. Guest Home.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 08:10:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158066#M112198</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2008-07-14T08:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exception with &lt;authentication&gt;none&lt;/authentication&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158067#M112199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do I send authentication credentials as part of the http request?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Webscript URL is included as a link in a JSP page. I need to authenticate without user intervention and display result inline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kapil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 09:23:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158067#M112199</guid>
      <dc:creator>kapil_k</dc:creator>
      <dc:date>2008-07-15T09:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exception with &lt;authentication&gt;none&lt;/authentication&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158068#M112200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I get the same exception with &amp;lt;authentication runas="admin"&amp;gt;none&amp;lt;/authentication&amp;gt; from a web script deployed on the classpath under alfresco/extension/templates/webscripts.&amp;nbsp; This should work according to the Wiki.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 00:32:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158068#M112200</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-12-09T00:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Exception with &lt;authentication&gt;none&lt;/authentication&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158069#M112201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post the exception here, including the entire stack trace?&amp;nbsp; The logic of your Web Script's controller (JS / Java) would also be handy, if it's not too lengthy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 03:39:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158069#M112201</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-12-09T03:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exception with &lt;authentication&gt;none&lt;/authentication&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158070#M112202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I discovered from the source code that the RUNAS feature is not available in Alfresco 2.9.0B build 683.&amp;nbsp; Alfresco 2.9B was packages on December 10, 2007, well before the runas feature was committed to subversion.&amp;nbsp; RUNAS was added to subversion at revision 3101 on September 29, 2008.&amp;nbsp; I don't know if it has been included in an official community release to this date.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 19:16:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158070#M112202</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-12-09T19:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exception with &lt;authentication&gt;none&lt;/authentication&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158071#M112203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you intend to use Alfresco 2.9.0B, you can accomplish nearly the same thing by setting &amp;lt;authentication&amp;gt;guest&amp;lt;/authentication&amp;gt;, and then append "guest=true" to your web script URL like "&lt;/SPAN&gt;&lt;A href="http://www.example.com/alfresco/s/test?guest=true" rel="nofollow noopener noreferrer"&gt;http://www.example.com/alfresco/s/test?guest=true&lt;/A&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works for us as long as the Guest account has been given access to all of the content and spaces you need to access from the web script.&amp;nbsp; Note: you will not have a 'companyhome' root object if Guest has not been given at least the "Consumer" role on the Company Home space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 19:29:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158071#M112203</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-12-09T19:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Exception with &lt;authentication&gt;none&lt;/authentication&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158072#M112204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can also use the "runAs" API [1] within a Java backed Web Script, then configure the Web Script with authentication=none or authentication=guest.&amp;nbsp; For security reasons this API is not available to Javascript backed Web Scripts however.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[1] &lt;/SPAN&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/repo/security/authentication/AuthenticationUtil.html#runAs(org.alfresco.repo.security.authentication.AuthenticationUtil.RunAsWork,%20java.lang.String)" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/repo/security/authentication/AuthenticationUtil.html#runAs(org.alfresco.repo.security.authentication.AuthenticationUtil.RunAsWork,%20java.lang.String)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 20:14:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-with-lt-authentication-gt-none-lt-authentication-gt/m-p/158072#M112204</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-12-09T20:14:58Z</dc:date>
    </item>
  </channel>
</rss>

