User impersonation support by SAP JCo
I have a question on how user impersonation (in other words user delegation) is supported by SAP JAVA Connector (JCo).
Let say I have an 3rd party JAVA application communicating with SAP NetWeaver ABAP based system. The JAVA app actually manipulates the data in SAP by calling BAPI. What are my possibilities of having user which is used to connect from JAVA app to SAP delegated? E.g. instead of using generic user to manipulate the data a real user (who is logged to JAVA app) would be used to make a call into SAP.
Martin Voros replied
I did not check the JCo API but I am pretty sure that you can make two calls with different user from same app. You can just create multiple instances of JCo.client and each client will use different user. How they authenticate (user/password or SSO logon) is a different issue. Yes, I meant business object server.