add todo list for later into config loader

This commit is contained in:
mohammed jasem alaajel 2022-10-19 07:46:59 +04:00
parent af4e180b2c
commit 4d58ee1742
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@ public interface ConfigLoader {
loadConfig(plugin, dataFolder.toPath());
}
// There currently a problem with the SSL/TLS connections
// looking into the Jedis source code you can pass some form of
// Domain Validation, SSL factory from javax packages
// todo: create Domain valdiation
// todo: add new config options for ssl certs locations
default void loadConfig(RedisBungeePlugin<?> plugin, Path dataFolder) throws IOException {
Path configFile = createConfigFile(dataFolder);
final YAMLConfigurationLoader yamlConfigurationFileLoader = YAMLConfigurationLoader.builder().setPath(configFile).build();