<?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 How To Bypass/Hardcode Authentication in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-bypass-hardcode-authentication/m-p/197105#M150235</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;I am creating a web script that returns me data from a particular file from a web project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to access these files alfresco asks for the login details. I want to bypass this step as these scripts will be called from within another application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to get the files from guest home by passing the parameter guest=true as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/service/getxml?guest=true" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/getxml?guest=true&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, for the files from a wcm project repository, it needs admin privileges.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way i can bypass this authentication step, or hardcode the username and password(admin:admin for e.g.) in url request or the webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(PS: I do not want to add headers to my http request, please provide a different solution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Himanshu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2008 05:19:06 GMT</pubDate>
    <dc:creator>himanshu</dc:creator>
    <dc:date>2008-11-28T05:19:06Z</dc:date>
    <item>
      <title>How To Bypass/Hardcode Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-bypass-hardcode-authentication/m-p/197105#M150235</link>
      <description>Hi,I am creating a web script that returns me data from a particular file from a web project.In order to access these files alfresco asks for the login details. I want to bypass this step as these scripts will be called from within another application.I am able to get the files from guest home by pa</description>
      <pubDate>Fri, 28 Nov 2008 05:19:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-bypass-hardcode-authentication/m-p/197105#M150235</guid>
      <dc:creator>himanshu</dc:creator>
      <dc:date>2008-11-28T05:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: How To Bypass/Hardcode Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-bypass-hardcode-authentication/m-p/197106#M150236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got the answer at&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/RESTful_API_Reference#Login" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/RESTful_API_Reference#Login&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 04:08:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-bypass-hardcode-authentication/m-p/197106#M150236</guid>
      <dc:creator>himanshu</dc:creator>
      <dc:date>2008-12-01T04:08:49Z</dc:date>
    </item>
  </channel>
</rss>

