pzampino commented on a change in pull request #304: KNOX-2315 - Fix zookeeper
Kerberos Auth
URL: https://github.com/apache/knox/pull/304#discussion_r404994220
##########
File path:
gateway-service-remoteconfig/src/main/java/org/apache/knox/gateway/service/config/remote/zk/CuratorClientService.java
##########
@@ -124,7 +125,14 @@ private RemoteConfigurationRegistryClient
createClient(RemoteConfigurationRegist
ACLProvider aclProvider;
if (config.isSecureRegistry()) {
configureSasl(config);
- aclProvider = new SASLOwnerACLProvider();
+ if (!StringUtils.isBlank(config.getAuthType()) && config
Review comment:
It actually may be easier to simply change it to
AUTH_TYPE_KERBEROS.equalsIgnoreCase(config.getAuthType()), which would handle
the blank or null value check too.
----------------------------------------------------------------
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