Interface TlsConfigurationProvider

All Superinterfaces:
OracleResourceProvider

public interface TlsConfigurationProvider extends OracleResourceProvider

A provider of keys and/or certificates for TLS communication with Oracle Database.

The oracle.jdbc.provider.tlsConfiguration connection property identifies the name of a TlsConfigurationProvider implementation. Connection properties under the namespace of oracle.jdbc.provider.tlsConfiguration configure any parameters that an implementation defines. To illustrate, the connection properties below would identify a provider named "example-provider", and configure a parameter named "vaultId":

  oracle.jdbc.provider.tlsConfiguration=example-provider
  oracle.jdbc.provider.tlsConfiguration.vaultId=9999-8888-7777

ServiceLoader locates implementations of TlsConfigurationProvider declared by a META-INF/services/oracle.jdbc.spi.TlsConfigurationProvider file in the class path, or by a module-info.java file with a "provides oracle.jdbc.spi.TlsConfigurationProvider" directive in the module path. Typically, these files are distributed within a jar file that contains a TlsConfigurationProvider implementation.

Since:
23