<?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: Disable basic authentication in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/disable-basic-authentication/m-p/248842#M201972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Excellent, please mark the topic as Solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kev&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Nov 2010 15:25:07 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2010-11-09T15:25:07Z</dc:date>
    <item>
      <title>Disable basic authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-basic-authentication/m-p/248839#M201969</link>
      <description>Hi there,hope the community can help. I am working on a development system, and i do create some web scripts. My Version is Alfresco Community 3.4When I now list the webscripts via the url http://localhost:8080/alfresco/service/index, i always need authentication via [alf_ticket]. I am not even able</description>
      <pubDate>Wed, 03 Nov 2010 11:35:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-basic-authentication/m-p/248839#M201969</guid>
      <dc:creator>wolfgang_freund</dc:creator>
      <dc:date>2010-11-03T11:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Disable basic authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-basic-authentication/m-p/248840#M201970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In a word, yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The authentication for a script is set the descriptor file, for example the index.get.desc.xml script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;webscript&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;shortname&amp;gt;Web Scripts Home&amp;lt;/shortname&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;description&amp;gt;Web Scripts Home&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/index&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;authentication&amp;gt;admin&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;lifecycle&amp;gt;internal&amp;lt;/lifecycle&amp;gt;&lt;BR /&gt;&amp;lt;/webscript&amp;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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;has authentication=admin - which is why you are prompted for login. So to disabled that, you just need overrides for the both the .get (retrieve index page) and .post (refresh index page i.e. Refresh Web Scripts command) scripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So add a new file called index.get.desc.xml to: \&amp;lt;your alfresco tomcat&amp;gt;\shared\classes\alfresco\extension\templates\webscripts\org\springframework\extensions\webscripts&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;webscript&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;shortname&amp;gt;Web Scripts Home&amp;lt;/shortname&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;description&amp;gt;Web Scripts Home&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/index&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;authentication&amp;gt;none&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;lifecycle&amp;gt;internal&amp;lt;/lifecycle&amp;gt;&lt;BR /&gt;&amp;lt;/webscript&amp;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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;and a new file called index.post.desc.xml to the same folder:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;webscript&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;shortname&amp;gt;Web Script Maintenance&amp;lt;/shortname&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;description&amp;gt;Maintain index of Web Scripts&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/index?reset={reset?}&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/?reset={reset?}&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;authentication&amp;gt;none&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;lifecycle&amp;gt;internal&amp;lt;/lifecycle&amp;gt;&lt;BR /&gt;&amp;lt;/webscript&amp;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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;and refresh your webscripts or restart the server. You will no longer need admin privileges to execute a refresh or view the index page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kev&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 14:30:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-basic-authentication/m-p/248840#M201970</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2010-11-09T14:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Disable basic authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-basic-authentication/m-p/248841#M201971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot. Now it works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 15:05:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-basic-authentication/m-p/248841#M201971</guid>
      <dc:creator>wolfgang_freund</dc:creator>
      <dc:date>2010-11-09T15:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disable basic authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-basic-authentication/m-p/248842#M201972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Excellent, please mark the topic as Solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kev&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 15:25:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-basic-authentication/m-p/248842#M201972</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2010-11-09T15:25:07Z</dc:date>
    </item>
  </channel>
</rss>

