<?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: 'Bad credentials' error after a call to the lockSe in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6387#M1418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Kevin.&amp;nbsp; It's very nice.&amp;nbsp; I will test it.&amp;nbsp; Please, could you also check if there is the same problem with the method "CheckOutCheckInService.getWorkingCopy()"&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;No problem. I've checked getWorkingCopy() and it looks to be configured ok. What method did you call before it? As this exception case is quite confusing as it is thrown from the method call _after_ this config issue occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2006 14:41:32 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2006-05-24T14:41:32Z</dc:date>
    <item>
      <title>'Bad credentials' error after a call to the lockSe</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6384#M1415</link>
      <description>Hello,&amp;nbsp;&amp;nbsp; I try a little test with a sandalone java application. I obtain an exception of type "Bad credentials" after having called some API services.&amp;nbsp; It occurs just after a first call to the lockService.&amp;nbsp; Some times ago, I already met the same situation after a call to checkOutCheckInService.getWo</description>
      <pubDate>Wed, 24 May 2006 08:38:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6384#M1415</guid>
      <dc:creator>anweber</dc:creator>
      <dc:date>2006-05-24T08:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: 'Bad credentials' error after a call to the lockSe</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6385#M1416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have found a small bug. A method is missing from the service security context definitions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Find and edit the file "public-services-security-context.xml" and search for the section starting with this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;bean id="LockService_security" class="net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor"&amp;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;BR /&gt;&lt;SPAN&gt;now add this line to the list in the &amp;lt;value&amp;gt; element:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.alfresco.service.cmr.lock.LockService.getLocks=ACL_NODE.0.sys:base.Read&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;BR /&gt;&lt;SPAN&gt;Restart the server and your tests should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will commit this change ready for the next 1.3 build.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 09:11:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6385#M1416</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-05-24T09:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: 'Bad credentials' error after a call to the lockSe</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6386#M1417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Kevin.&amp;nbsp; It's very nice.&amp;nbsp; I will test it.&amp;nbsp; Please, could you also check if there is the same problem with the method "CheckOutCheckInService.getWorkingCopy()"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Andre.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 09:21:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6386#M1417</guid>
      <dc:creator>anweber</dc:creator>
      <dc:date>2006-05-24T09:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: 'Bad credentials' error after a call to the lockSe</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6387#M1418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Kevin.&amp;nbsp; It's very nice.&amp;nbsp; I will test it.&amp;nbsp; Please, could you also check if there is the same problem with the method "CheckOutCheckInService.getWorkingCopy()"&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;No problem. I've checked getWorkingCopy() and it looks to be configured ok. What method did you call before it? As this exception case is quite confusing as it is thrown from the method call _after_ this config issue occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 14:41:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6387#M1418</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-05-24T14:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: 'Bad credentials' error after a call to the lockSe</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6388#M1419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; After I have done the modifications in the file "public-services-security-context.xml", the problem is solved with the lockService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; But I still have the same kind of problem with "CheckOutCheckInService.getWorkingCopy()".&amp;nbsp; This problem is explained in this post : &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=1448#6403" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=1448#6403&lt;/A&gt;&lt;SPAN&gt; .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Many thanks for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Andre&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 13:12:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-credentials-error-after-a-call-to-the-lockse/m-p/6388#M1419</guid>
      <dc:creator>anweber</dc:creator>
      <dc:date>2006-05-29T13:12:14Z</dc:date>
    </item>
  </channel>
</rss>

