<?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: Authentication required when logged in in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/authentication-required-when-logged-in/m-p/224417#M177547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried to invoke that webscript using the Web Client servlet for authentication?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this way you can use the same authentication context to execute the webscript without authenticating that user in the same browsing session.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try to invoke this URL for your WebScript:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/wcservice/yourCustomWebscriptUrl" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/wcservice/yourCustomWebscriptUrl&lt;/A&gt;….&lt;BR /&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Mar 2010 14:54:44 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2010-03-10T14:54:44Z</dc:date>
    <item>
      <title>Authentication required when logged in</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-required-when-logged-in/m-p/224416#M177546</link>
      <description>Hi!I have a html-document that make a few ajax-calls to webscripts. These webscripts requires the user to be logged (&amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;). The problem is that in order to get to the html-file you need to be logged in and then you have to login once more in order to fetc</description>
      <pubDate>Wed, 10 Mar 2010 14:24:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-required-when-logged-in/m-p/224416#M177546</guid>
      <dc:creator>buurd</dc:creator>
      <dc:date>2010-03-10T14:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication required when logged in</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-required-when-logged-in/m-p/224417#M177547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried to invoke that webscript using the Web Client servlet for authentication?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this way you can use the same authentication context to execute the webscript without authenticating that user in the same browsing session.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try to invoke this URL for your WebScript:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/wcservice/yourCustomWebscriptUrl" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/wcservice/yourCustomWebscriptUrl&lt;/A&gt;….&lt;BR /&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 14:54:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-required-when-logged-in/m-p/224417#M177547</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2010-03-10T14:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication required when logged in</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-required-when-logged-in/m-p/224418#M177548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It solved the problem. It also seems a lot faster, had about 500 ms for each request on my local installation and now it's down to less than 200 ms. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roland&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 08:32:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-required-when-logged-in/m-p/224418#M177548</guid>
      <dc:creator>buurd</dc:creator>
      <dc:date>2010-03-11T08:32:46Z</dc:date>
    </item>
  </channel>
</rss>

