rlevas commented on a change in pull request #63: KNOX-1801 - Master secret is
incorrectly assumed when a custom truststore is not specified when clientauth
is enabled
URL: https://github.com/apache/knox/pull/63#discussion_r262603119
##########
File path:
gateway-spi/src/main/java/org/apache/knox/gateway/services/security/SSLService.java
##########
@@ -22,8 +22,9 @@
import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateException;
+import org.apache.knox.gateway.config.GatewayConfig;
import org.apache.knox.gateway.services.Service;
public interface SSLService extends Service {
- Object buildSslContextFactory(String keystoreFileName, String keystoreType,
String alias) throws KeyStoreException, IOException, CertificateException,
NoSuchAlgorithmException;
+ Object buildSslContextFactory(GatewayConfig config) throws
KeyStoreException, IOException, CertificateException, NoSuchAlgorithmException,
AliasServiceException;
Review comment:
Looks like that should have been reduced to just `throws
AliasServiceException`. I forgot to check and assumed my IDE remove it from
the interface method when I _smart_ removed it from the implementation.
I will fix this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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