<?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: Webscript, Alf API, authentication, /wcservice unavailable in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/webscript-alf-api-authentication-wcservice-unavailable/m-p/235742#M188872</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 think the issue you are seeing is possibly related to using the clearCurrentSecurityContext method.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would suggest using the runAs method on AuthenticationUtils.&amp;nbsp; This will ensure that the user is setup and reset in the correct way and prevents you from having to do things by hand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Oct 2010 14:15:31 GMT</pubDate>
    <dc:creator>rwetherall</dc:creator>
    <dc:date>2010-10-25T14:15:31Z</dc:date>
    <item>
      <title>Webscript, Alf API, authentication, /wcservice unavailable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-alf-api-authentication-wcservice-unavailable/m-p/235741#M188871</link>
      <description>BackgroundI've followed the guidlines as set out on http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples for writing Java-backed webscripts.My webscripts does it's job and uses some Alfresco APIs that require authentication. In order to authenticate I have tried stuff likeAuthenticationUtil</description>
      <pubDate>Mon, 18 Oct 2010 15:57:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-alf-api-authentication-wcservice-unavailable/m-p/235741#M188871</guid>
      <dc:creator>qwerty</dc:creator>
      <dc:date>2010-10-18T15:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Webscript, Alf API, authentication, /wcservice unavailable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-alf-api-authentication-wcservice-unavailable/m-p/235742#M188872</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 think the issue you are seeing is possibly related to using the clearCurrentSecurityContext method.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would suggest using the runAs method on AuthenticationUtils.&amp;nbsp; This will ensure that the user is setup and reset in the correct way and prevents you from having to do things by hand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 14:15:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-alf-api-authentication-wcservice-unavailable/m-p/235742#M188872</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2010-10-25T14:15:31Z</dc:date>
    </item>
  </channel>
</rss>

