Logi Report Server manages dynamic connections by DynamicConnectionManager. This topic describes how Logi Report Server applies dynamic connections and how you can register dynamic connections in the server via API.
You can call jet.server.api.admin.AdminService.getDynamicConnectionManager() to get the DynamicConnectionManager object, and call its methods addDynamicConnection(), updateDynamicConnection(), or removeDynamicConnection() to maintain dynamic connections for multitenancy clients by programs.
When running a report, Logi Report Server calls the DynamicConnectionProvider (the built-in provider calls DynamicConnectionManager internally) to get dynamic connections for all used data sources at first and then passes the dynamic connection properties to Logi Report Engine. Logi Report Engine then merges the changed properties with the original catalog connection properties to set up the database connection.
You can implement jet.server.api.dynamiccon.DynamicConnectionProvider to get dynamic connections from your own system and then register a customized DynamicConnectionProvider into Logi Report Server by adding the property server.custom.DynamicConnectionProvider in the server.properties file in
For more information, see the jet.server.api.dynamiccon package in the Logi Report Javadoc.