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
Solved! Go to Solution.
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 'setAuthenticatedUserId' actually uses the 'org.activiti.engine.impl.identity.Authentication' class to store the userId with this method 'Authentication.setAuthenticatedUserId(authenticatedUserId)'. The only places that this seems to be accessed in the application using a similar getter, are here:
If you want to follow up on this and see the occurrences for yourself, check their most up-to-date codebase on Github. All of those occurrences happen in either the activiti-explorer or the activiti-engine.
Hope this helps,
-JEarles
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 'setAuthenticatedUserId' actually uses the 'org.activiti.engine.impl.identity.Authentication' class to store the userId with this method 'Authentication.setAuthenticatedUserId(authenticatedUserId)'. The only places that this seems to be accessed in the application using a similar getter, are here:
If you want to follow up on this and see the occurrences for yourself, check their most up-to-date codebase on Github. All of those occurrences happen in either the activiti-explorer or the activiti-engine.
Hope this helps,
-JEarles
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.