Interface ProxyConfig.ProxyCredentialProviderConfig

Enclosing interface:
ProxyConfig

public static interface ProxyConfig.ProxyCredentialProviderConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of the bean providing the credentials provider.
    Name of the credential bucket to retrieve from the CredentialsProvider.
    The key used to retrieve the password from the credentials provider.
    The key used to retrieve the username from the credentials provider.
  • Method Details

    • name

      Optional<String> name()
      Name of the credential bucket to retrieve from the CredentialsProvider. If not set, the credentials provider will not be used.

      A credentials provider offers a way to retrieve the key store password as well as alias password. Note that the credentials provider is only used if the username and password are not set in the configuration.

    • beanName

      Optional<String> beanName()
      Name of the bean providing the credentials provider.

      The name is used to select the credentials provider to use. The credentials provider must be exposed as a CDI bean and with the @Named annotation set to the configured name to be selected.

      If not set, the default credentials provider is used.

    • usernameKey

      @WithDefault("user") String usernameKey()
      The key used to retrieve the username from the credentials provider.

      If username, password or both cannot be retrieved from the credentials provider, an exception is thrown.

    • passwordKey

      @WithDefault("password") String passwordKey()
      The key used to retrieve the password from the credentials provider.

      If username, password or both cannot be retrieved from the credentials provider, an exception is thrown.