Package io.camunda.client.impl.basicauth
Class BasicAuthCredentialsProviderBuilder
java.lang.Object
io.camunda.client.impl.basicauth.BasicAuthCredentialsProviderBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyEnvironmentOverrides(boolean applyEnvironmentOverrides) Whether to apply environment overrides to the builder.build()Password to be used for basic authentication.Username to be used for basic authentication.
-
Constructor Details
-
BasicAuthCredentialsProviderBuilder
public BasicAuthCredentialsProviderBuilder()
-
-
Method Details
-
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 theapplyEnvironmentOverrides' method. -
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 theapplyEnvironmentOverrides' 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
-