<?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: Custom evaluator - how to execute as system user? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-evaluator-how-to-execute-as-system-user/m-p/33228#M17323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The org.alfresco.repo.security.authentication.AuthenticationUtil class has some useful methods for this sort of thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Amongst other things, you can call runAs() with a anonymous class of work to perform as the specified user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Aug 2006 13:55:54 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2006-08-15T13:55:54Z</dc:date>
    <item>
      <title>Custom evaluator - how to execute as system user?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-evaluator-how-to-execute-as-system-user/m-p/33226#M17321</link>
      <description>Hi,I have a custom evaluator for a custom action button.&amp;nbsp; I need to be able to do some checking inside that evaluator.Apparantly the evaluator executes with the current users permissions.I need to execute as the system user. What is the best / easiest way to do that from within an evaluator?The spec</description>
      <pubDate>Wed, 09 Aug 2006 19:58:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-evaluator-how-to-execute-as-system-user/m-p/33226#M17321</guid>
      <dc:creator>csiege</dc:creator>
      <dc:date>2006-08-09T19:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom evaluator - how to execute as system user?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-evaluator-how-to-execute-as-system-user/m-p/33227#M17322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone… ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 15:35:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-evaluator-how-to-execute-as-system-user/m-p/33227#M17322</guid>
      <dc:creator>csiege</dc:creator>
      <dc:date>2006-08-14T15:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom evaluator - how to execute as system user?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-evaluator-how-to-execute-as-system-user/m-p/33228#M17323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The org.alfresco.repo.security.authentication.AuthenticationUtil class has some useful methods for this sort of thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Amongst other things, you can call runAs() with a anonymous class of work to perform as the specified user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2006 13:55:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-evaluator-how-to-execute-as-system-user/m-p/33228#M17323</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-08-15T13:55:54Z</dc:date>
    </item>
  </channel>
</rss>

