<?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: setAuthenticatedUserId in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/setauthenticateduserid/m-p/15148#M6699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems like, as a whole the IdentityService class is meant to perform CRUD operations related to Users and Groups - so, following that, the method &lt;SPAN style="color: #000000; font-family: 'courier new', courier, monospace;"&gt;'&lt;SPAN style="background-color: #ffffff;"&gt;setAuthenticatedUserId'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; actually uses the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;'org.activiti.engine.impl.identity.Authentication'&amp;nbsp;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;class to store the &lt;EM&gt;userId&lt;/EM&gt; with this method &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;'Authentication.setAuthenticatedUserId(authenticatedUserId)'&lt;/SPAN&gt;. The only places that this seems to be accessed in the application using a similar getter, are here:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Reporting&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Adding a Comment&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Creating an Attachment&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Completing a Task&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Creating some historical database entries&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;And a few other places pertaining to: variable scoping access, some event logging, users initiating things&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;If you want to follow up on this and see the occurrences for yourself, check their most up-to-date codebase on &lt;A href="https://github.com/Activiti/Activiti/search?utf8=%E2%9C%93&amp;amp;q=getAuthenticatedUserId" rel="nofollow noopener noreferrer"&gt;Github&lt;/A&gt;. All of those occurrences happen in either the activiti-explorer or the activiti-engine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Hope this helps,&lt;BR /&gt;-JEarles&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2017 20:39:57 GMT</pubDate>
    <dc:creator>jearles</dc:creator>
    <dc:date>2017-02-22T20:39:57Z</dc:date>
    <item>
      <title>setAuthenticatedUserId</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/setauthenticateduserid/m-p/15147#M6698</link>
      <description>Hi,i have a question regarding the IdentityService.setAuthenticatedUserId. When is this value used? Just for process starting and querying? Or is it used by another service except the activiti-app?Thanks,Niklas</description>
      <pubDate>Wed, 22 Feb 2017 17:45:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/setauthenticateduserid/m-p/15147#M6698</guid>
      <dc:creator>nikmenke</dc:creator>
      <dc:date>2017-02-22T17:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: setAuthenticatedUserId</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/setauthenticateduserid/m-p/15148#M6699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems like, as a whole the IdentityService class is meant to perform CRUD operations related to Users and Groups - so, following that, the method &lt;SPAN style="color: #000000; font-family: 'courier new', courier, monospace;"&gt;'&lt;SPAN style="background-color: #ffffff;"&gt;setAuthenticatedUserId'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; actually uses the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;'org.activiti.engine.impl.identity.Authentication'&amp;nbsp;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;class to store the &lt;EM&gt;userId&lt;/EM&gt; with this method &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;'Authentication.setAuthenticatedUserId(authenticatedUserId)'&lt;/SPAN&gt;. The only places that this seems to be accessed in the application using a similar getter, are here:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Reporting&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Adding a Comment&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Creating an Attachment&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Completing a Task&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Creating some historical database entries&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;And a few other places pertaining to: variable scoping access, some event logging, users initiating things&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;If you want to follow up on this and see the occurrences for yourself, check their most up-to-date codebase on &lt;A href="https://github.com/Activiti/Activiti/search?utf8=%E2%9C%93&amp;amp;q=getAuthenticatedUserId" rel="nofollow noopener noreferrer"&gt;Github&lt;/A&gt;. All of those occurrences happen in either the activiti-explorer or the activiti-engine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Hope this helps,&lt;BR /&gt;-JEarles&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 20:39:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/setauthenticateduserid/m-p/15148#M6699</guid>
      <dc:creator>jearles</dc:creator>
      <dc:date>2017-02-22T20:39:57Z</dc:date>
    </item>
  </channel>
</rss>

