use of org.apache.kafka.common.config.types.Password in project kafka by apache.
the class StandaloneConfigTest method sslProps.
private Map<String, Object> sslProps() {
return new HashMap<String, Object>() {
{
put(SslConfigs.SSL_KEY_PASSWORD_CONFIG, new Password("ssl_key_password"));
put(SslConfigs.SSL_KEYSTORE_LOCATION_CONFIG, "ssl_keystore");
put(SslConfigs.SSL_KEYSTORE_PASSWORD_CONFIG, new Password("ssl_keystore_password"));
put(SslConfigs.SSL_TRUSTSTORE_LOCATION_CONFIG, "ssl_truststore");
put(SslConfigs.SSL_TRUSTSTORE_PASSWORD_CONFIG, new Password("ssl_truststore_password"));
}
};
}
Aggregations