We have developed a couple of applications that connect to the Automation Engine via the Java Application Interface. These apps maintain connection pools for connections to each AE system, using a system user account with high privileges in the AE systems. For some operations (e.g., executing objects), it is desirable that the tasks be started as a user
other than this administrative user. We would like to find a way to execute objects in the target AE system as a particular user
without having to log out and log back in again. In other words, we want to be able to keep the connection pools active, and to switch to another user only for certain operations like executing tasks. The
ExecuteObject API class appears to offer no mechanism for user impersonation or user switching. Does anyone know a way to do what we want?