Class OidcCommonConfig.Tls

java.lang.Object
io.quarkus.oidc.common.runtime.OidcCommonConfig.Tls
All Implemented Interfaces:
OidcCommonConfig.Tls
Enclosing class:
OidcCommonConfig

@Deprecated(since="3.18", forRemoval=true) public static class OidcCommonConfig.Tls extends Object implements OidcCommonConfig.Tls
Deprecated, for removal: This API element is subject to removal in a future version.
use OidcCommonConfigBuilder to create the TLS config
  • Field Details

    • tlsConfigurationName

      Optional<String> tlsConfigurationName
      Deprecated, for removal: This API element is subject to removal in a future version.
      The name of the TLS configuration to use.

      If a name is configured, it uses the configuration from quarkus.tls.<name>.* If a name is configured, but no TLS configuration is found with that name then an error will be thrown.

      The default TLS configuration is not used by default.

    • verification

      Deprecated.
      Use the TLS registry instead.
      Certificate validation and hostname verification, which can be one of the following OidcCommonConfig.Tls.Verification values. Default is `required`.
    • keyStoreFile

      public Optional<Path> keyStoreFile
      Deprecated.
      Use the TLS registry instead.
      An optional keystore that holds the certificate information instead of specifying separate files.
    • keyStoreFileType

      public Optional<String> keyStoreFileType
      Deprecated.
      Use the TLS registry instead.
      The type of the keystore file. If not given, the type is automatically detected based on the file name.
    • keyStoreProvider

      public Optional<String> keyStoreProvider
      Deprecated.
      Use the TLS registry instead.
      The provider of the keystore file. If not given, the provider is automatically detected based on the keystore file type.
    • keyStorePassword

      public Optional<String> keyStorePassword
      Deprecated.
      Use the TLS registry instead.
      The password of the keystore file. If not given, the default value, `password`, is used.
    • keyStoreKeyAlias

      public Optional<String> keyStoreKeyAlias
      Deprecated.
      Use the TLS registry instead.
      The alias of a specific key in the keystore. When SNI is disabled, if the keystore contains multiple keys and no alias is specified, the behavior is undefined.
    • keyStoreKeyPassword

      public Optional<String> keyStoreKeyPassword
      Deprecated.
      Use the TLS registry instead.
      The password of the key, if it is different from the keyStorePassword.
    • trustStoreFile

      public Optional<Path> trustStoreFile
      Deprecated.
      Use the TLS registry instead.
      The truststore that holds the certificate information of the certificates to trust.
    • trustStorePassword

      public Optional<String> trustStorePassword
      Deprecated.
      Use the TLS registry instead.
      The password of the truststore file.
    • trustStoreCertAlias

      public Optional<String> trustStoreCertAlias
      Deprecated.
      Use the TLS registry instead.
      The alias of the truststore certificate.
    • trustStoreFileType

      public Optional<String> trustStoreFileType
      Deprecated.
      Use the TLS registry instead.
      The type of the truststore file. If not given, the type is automatically detected based on the file name.
    • trustStoreProvider

      public Optional<String> trustStoreProvider
      Deprecated.
      Use the TLS registry instead.
      The provider of the truststore file. If not given, the provider is automatically detected based on the truststore file type.
  • Constructor Details

    • Tls

      public Tls()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • tlsConfigurationName

      public Optional<String> tlsConfigurationName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The name of the TLS configuration to use.

      If a name is configured, it uses the configuration from quarkus.tls.<name>.* If a name is configured, but no TLS configuration is found with that name then an error will be thrown.

      The default TLS configuration is not used by default.

      Specified by:
      tlsConfigurationName in interface OidcCommonConfig.Tls
    • verification

      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      Certificate validation and hostname verification, which can be one of the following OidcCommonConfig.Tls.Verification values. Default is `required`.
      Specified by:
      verification in interface OidcCommonConfig.Tls
    • keyStoreFile

      public Optional<Path> keyStoreFile()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      An optional keystore that holds the certificate information instead of specifying separate files.
      Specified by:
      keyStoreFile in interface OidcCommonConfig.Tls
    • keyStoreFileType

      public Optional<String> keyStoreFileType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The type of the keystore file. If not given, the type is automatically detected based on the file name.
      Specified by:
      keyStoreFileType in interface OidcCommonConfig.Tls
    • keyStoreProvider

      public Optional<String> keyStoreProvider()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The provider of the keystore file. If not given, the provider is automatically detected based on the keystore file type.
      Specified by:
      keyStoreProvider in interface OidcCommonConfig.Tls
    • keyStorePassword

      public Optional<String> keyStorePassword()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The password of the keystore file. If not given, the default value, `password`, is used.
      Specified by:
      keyStorePassword in interface OidcCommonConfig.Tls
    • keyStoreKeyAlias

      public Optional<String> keyStoreKeyAlias()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The alias of a specific key in the keystore. When SNI is disabled, if the keystore contains multiple keys and no alias is specified, the behavior is undefined.
      Specified by:
      keyStoreKeyAlias in interface OidcCommonConfig.Tls
    • keyStoreKeyPassword

      public Optional<String> keyStoreKeyPassword()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The password of the key, if it is different from the OidcCommonConfig.Tls.keyStorePassword().
      Specified by:
      keyStoreKeyPassword in interface OidcCommonConfig.Tls
    • trustStoreFile

      public Optional<Path> trustStoreFile()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The truststore that holds the certificate information of the certificates to trust.
      Specified by:
      trustStoreFile in interface OidcCommonConfig.Tls
    • trustStorePassword

      public Optional<String> trustStorePassword()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The password of the truststore file.
      Specified by:
      trustStorePassword in interface OidcCommonConfig.Tls
    • trustStoreCertAlias

      public Optional<String> trustStoreCertAlias()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The alias of the truststore certificate.
      Specified by:
      trustStoreCertAlias in interface OidcCommonConfig.Tls
    • trustStoreFileType

      public Optional<String> trustStoreFileType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The type of the truststore file. If not given, the type is automatically detected based on the file name.
      Specified by:
      trustStoreFileType in interface OidcCommonConfig.Tls
    • trustStoreProvider

      public Optional<String> trustStoreProvider()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OidcCommonConfig.Tls
      The provider of the truststore file. If not given, the provider is automatically detected based on the truststore file type.
      Specified by:
      trustStoreProvider in interface OidcCommonConfig.Tls
    • getVerification

      public Optional<OidcCommonConfig.Tls.Verification> getVerification()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setVerification

      public void setVerification(OidcCommonConfig.Tls.Verification verification)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTrustStoreFile

      public Optional<Path> getTrustStoreFile()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTrustStoreFile

      public void setTrustStoreFile(Path trustStoreFile)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTrustStorePassword

      public Optional<String> getTrustStorePassword()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTrustStorePassword

      public void setTrustStorePassword(String trustStorePassword)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTrustStoreCertAlias

      public Optional<String> getTrustStoreCertAlias()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTrustStoreCertAlias

      public void setTrustStoreCertAlias(String trustStoreCertAlias)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getKeyStoreProvider

      public Optional<String> getKeyStoreProvider()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setKeyStoreProvider

      public void setKeyStoreProvider(String keyStoreProvider)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTrustStoreProvider

      public Optional<String> getTrustStoreProvider()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTrustStoreProvider

      public void setTrustStoreProvider(String trustStoreProvider)
      Deprecated, for removal: This API element is subject to removal in a future version.