Interface TrustStoreCredentialProviderConfig


public interface TrustStoreCredentialProviderConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the bean providing the credential provider.
    The name of the "credential" bucket (map key -> passwords) to retrieve from the CredentialsProvider.
    The key used to retrieve the trust store password.
  • Method Details

    • name

      Optional<String> name()
      The name of the "credential" bucket (map key -> passwords) to retrieve from the CredentialsProvider. If not set, the credential provider will not be used.

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

    • beanName

      Optional<String> beanName()
      The name of the bean providing the credential provider.

      The name is used to select the credential provider to use. The credential 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 credential provider is used.

    • passwordKey

      @WithDefault("password") String passwordKey()
      The key used to retrieve the trust store password.

      If the selected credential provider does not contain the configured key, the password is not retrieved. Otherwise, the retrieved value is used to open the trust store.