I am using Activiti Enterprise and I want to have a common basic authentication for all requests that I send from my application to Activiti. I am able to get the task list of User X when I pass basic authentication details of User X and similarly for other users but here I want to get tasks of User X or User Y with a common basic authentication details of say User A. Can this be achieved ? if so how can I get this.
Yes, there is an 'assume user' feature. You use the credentials of a tenant manager or tenant admin, and add the header 'activiti-user' with the user id/email/.. An additional header 'activiti-user-value-type' needs to be set to userIdType|userEmailType|userExternalIdType to determine which kind of user id is passed.
For others who might just end up here searching for the same, activiti-user I have given it as 3002 which is the id of the user in my case. activiti-user-value-type I have given it as userIdType.