I am developing a Java app that is deployed on the SAP Cloud Platform, using the SAP JCo3 Connector. It should make some RFC calls to an ABAP Backend, therefore I am using a SAP Cloud Connector. The destination is defined in the SAP Cloud Platform, however I would like to dynamically pass the Username and Password (from a login mask) to login in the SAP back-end with different users. The aforementioned properties are jco.client.user and jco.client.passwd respectively.
How can one dynamically change the properties of the JCoDestination, enabling several users using the application concurrently? There is no method "setProperties(...)".