Class SSLConfigurations


  • public class SSLConfigurations
    extends Object
    Dedicated object to handle Solr configurations
    • Constructor Detail

      • SSLConfigurations

        public SSLConfigurations​(SSLCredentialProviderFactory sslCredentialProviderFactory)
        Parameters:
        sslCredentialProviderFactory - Credential provider factory to use for providers
      • SSLConfigurations

        public SSLConfigurations​(List<SSLCredentialProvider> credentialProviders)
        Parameters:
        credentialProviders - Explicit list of credential providers to use
    • Method Detail

      • init

        public void init()
        Initiates javax.net.ssl.* system properties from the proper sources.
      • getKeyStorePassword

        public String getKeyStorePassword()
        Returns:
        password for keystore used for SSL connections
      • getTrustStorePassword

        public String getTrustStorePassword()
        Returns:
        password for truststore used for SSL connections
      • getClientKeyStorePassword

        public String getClientKeyStorePassword()
        Returns:
        password for keystore used for SSL client connections
      • getClientTrustStorePassword

        public String getClientTrustStorePassword()
        Returns:
        password for truststore used for SSL client connections