risdenk commented on a change in pull request #54: [WIP] KNOX-1756 - Knox
Gateway TLS Keystore and Alias Should be Configurable
URL: https://github.com/apache/knox/pull/54#discussion_r258104585
##########
File path:
gateway-server/src/main/java/org/apache/knox/gateway/config/impl/GatewayConfigImpl.java
##########
@@ -426,6 +426,11 @@ public String getGatewaySecurityDir() {
return get(SECURITY_DIR, getGatewayDataDir() + File.separator +
DEFAULT_SECURITY_DIR);
}
+ @Override
+ public String getGatewayKeystoreDir() {
+ return new File(getGatewaySecurityDir(), "keystores").getAbsolutePath();
Review comment:
Can use `Paths.get` here
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services