Skip to main content Skip to complementary content

Configuring Remote Engine for the basic authentication with Spring Security

You need to set the environment variables for the machine where your engine is running.

  • If your engine version is earlier than v2.12.4, you also need to configure the engine itself for it to access the Jolokia endpoint for metrics collection.

  • If your engine version is v2.12.4 and onwards, the engine is by default configured for this access. You only need to set up the environment variables.

Procedure

  1. On the machine where your engine is running, define the following environment variables:
    SPRING_BOOT_SECURITY_USER_NAME
    SPRING_BOOT_SECURITY_USER_PASSWORD
  2. For engine version earlier than v2.12.4, stop the engine, open the Engine_installation/etc/org.talend.ipaas.rt.dsrunner.metrics.collector.cfg file and add the following lines. For the other versions, ignore this step.
    ms.metric.collection.jolokia.username=${SPRING_BOOT_SECURITY_USER_NAME:#{null}}
    ms.metric.collection.jolokia.password=${SPRING_BOOT_SECURITY_USER_PASSWORD:#{null}}

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!