Hi Joram,
I started to check UserIdentityManager and the activiti-ldap module. I think I can find my solution. I don't know the process engine config level, but this config is a global config or a local config for each instance of the workflow (process) ? Because I would like to avoid a lot of "login" to my service and then use the RPC (rest, xml-rpc) with the credentials.
In fact the idea is the following: when I create a user in my service, I create this one in Activiti with the "cookie"/"credentials" of my service.
In the Process, I will have some script tasks, I would like to use a "current" user, ( I think it's possible but not sure, I have to check the evaluation context for the script task) and with the "current" user, I will send the credential from my custom user table to my service.
Do you agree ? or do you have an other idea ?
Thanks