[
https://issues.apache.org/jira/browse/KNOX-2315?focusedWorklogId=417074&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-417074
]
ASF GitHub Bot logged work on KNOX-2315:
----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Apr/20 20:00
Start Date: 06/Apr/20 20:00
Worklog Time Spent: 10m
Work Description: pzampino commented on pull request #304: KNOX-2315 -
Fix zookeeper Kerberos Auth
URL: https://github.com/apache/knox/pull/304#discussion_r404350707
##########
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:
You've defined a method authenticationType(). Why not use that here? Could
also have a utility method isKerberosAuth(final String authType) that performs
this evaluation. There is nearly identical logic in ZookeeperRemoteAliasService
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 417074)
Time Spent: 1h (was: 50m)
> Zookeeper kerberos remote configuration registry broken
> -------------------------------------------------------
>
> Key: KNOX-2315
> URL: https://issues.apache.org/jira/browse/KNOX-2315
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Sandeep More
> Assignee: Sandeep More
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> When using the [recommended
> configuration|https://knox.apache.org/books/knox-1-3-0/user-guide.html#Remote+Configuration+Registry+Clients]
> for setting up Kerberos authentication for Zookeeper Knox fails to come up
> with the following error
> {code}
> org.apache.zookeeper.KeeperException$InvalidACLException: KeeperErrorCode =
> InvalidACL for /knox
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)