Beispiel #1
0
 public static void AddClientSaslSupport(ConfigDef config)
 {
     config.Define(SaslKerberosServiceName, ConfigDef.Type.String, null, ConfigDef.Importance.Medium,
         SaslKerberosServiceNameDoc)
         .Define(SaslKerberosKinitCmd, ConfigDef.Type.String, DefaultKerberosKinitCmd, ConfigDef.Importance.Low,
             SaslKerberosKinitCmdDoc)
         .Define(SaslKerberosTicketRenewWindowFactor, ConfigDef.Type.Double,
             DefaultKerberosTicketRenewWindowFactor, ConfigDef.Importance.Low,
             SaslKerberosTicketRenewWindowFactorDoc)
         .Define(SaslKerberosTicketRenewJitter, ConfigDef.Type.Double, DefaultKerberosTicketRenewJitter,
             ConfigDef.Importance.Low, SaslKerberosTicketRenewJitterDoc)
         .Define(SaslKerberosMinTimeBeforeRelogin, ConfigDef.Type.Long, DefaultKerberosMinTimeBeforeRelogin,
             ConfigDef.Importance.Low, SaslKerberosMinTimeBeforeReloginDoc);
 }
Beispiel #2
0
 public static void AddClientSslSupport(ConfigDef config)
 {
     config.Define(SslProtocolConfig, ConfigDef.Type.String, DefaultSslProtocol,
         ConfigDef.Importance.Medium, SslProtocolDoc)
         .Define(SslProviderConfig, ConfigDef.Type.String, null, ConfigDef.Importance.Medium,
             SslProviderDoc)
         .Define(SslCipherSuitesConfig, ConfigDef.Type.List, null, ConfigDef.Importance.Low,
             SslCipherSuitesDoc)
         .Define(SslEnabledProtocolsConfig, ConfigDef.Type.List, DefaultSslEnabledProtocols,
             ConfigDef.Importance.Medium, SslEnabledProtocolsDoc)
         .Define(SslKeystoreTypeConfig, ConfigDef.Type.String, DefaultSslKeystoreType,
             ConfigDef.Importance.Medium, SslKeystoreTypeDoc)
         .Define(SslKeystoreLocationConfig, ConfigDef.Type.String, null, ConfigDef.Importance.High,
             SslKeystoreLocationDoc)
         .Define(SslKeystorePasswordConfig, ConfigDef.Type.Password, null, ConfigDef.Importance.High,
             SslKeystorePasswordDoc)
         .Define(SslKeyPasswordConfig, ConfigDef.Type.Password, null, ConfigDef.Importance.High,
             SslKeyPasswordDoc)
         .Define(SslTruststoreTypeConfig, ConfigDef.Type.String, DefaultSslTruststoreType,
             ConfigDef.Importance.Medium, SslTruststoreTypeDoc)
         .Define(SslTruststoreLocationConfig, ConfigDef.Type.String, null, ConfigDef.Importance.High,
             SslTruststoreLocationDoc)
         .Define(SslTruststorePasswordConfig, ConfigDef.Type.Password, null, ConfigDef.Importance.High,
             SslTruststorePasswordDoc)
         .Define(SslKeymanagerAlgorithmConfig, ConfigDef.Type.String,
             DefaultSslKeymangerAlgorithm, ConfigDef.Importance.Low,
             SslKeymanagerAlgorithmDoc)
         .Define(SslTrustmanagerAlgorithmConfig, ConfigDef.Type.String,
             DefaultSslTrustmanagerAlgorithm, ConfigDef.Importance.Low,
             SslTrustmanagerAlgorithmDoc)
         .Define(SslEndpointIdentificationAlgorithmConfig, ConfigDef.Type.String, null,
             ConfigDef.Importance.Low, SslEndpointIdentificationAlgorithmDoc);
 }