AnsweredAssumed Answered

User impersonation for tasks executed via AE Java Application Interface

Question asked by Michael_Lowry on Nov 22, 2016
Latest reply on Jun 30, 2017 by Wolfgang_Brueckler_1288
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?