Class BasicAuthCredentialsProviderBuilder

java.lang.Object
io.camunda.client.impl.basicauth.BasicAuthCredentialsProviderBuilder

public final class BasicAuthCredentialsProviderBuilder extends Object
  • Constructor Details

    • BasicAuthCredentialsProviderBuilder

      public BasicAuthCredentialsProviderBuilder()
  • Method Details

    • username

      public BasicAuthCredentialsProviderBuilder username(String username)
      Username to be used for basic authentication. This can also be set using the environment variable 'CAMUNDA_BASIC_AUTH_USERNAME'. If both are set the environment variable will take precedence unless disabling environment by setting it to false using the applyEnvironmentOverrides' method.
    • password

      public BasicAuthCredentialsProviderBuilder password(String password)
      Password to be used for basic authentication. This can also be set using the environment variable 'CAMUNDA_BASIC_AUTH_PASSWORD'. If both are set the environment variable will take precedence unless disabling environment by setting it to false using the applyEnvironmentOverrides' method.
    • applyEnvironmentOverrides

      public BasicAuthCredentialsProviderBuilder applyEnvironmentOverrides(boolean applyEnvironmentOverrides)
      Whether to apply environment overrides to the builder. If set to true environment variables will take precedence over values explicitly set in this builder. If set to false the environment variables will not be used at all. If they do exist they will be ignored.
    • build