[
https://issues.apache.org/jira/browse/KNOX-2127?focusedWorklogId=345568&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-345568
]
ASF GitHub Bot logged work on KNOX-2127:
----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Nov/19 20:34
Start Date: 18/Nov/19 20:34
Worklog Time Spent: 10m
Work Description: pzampino commented on issue #202: KNOX-2127 -
ZooKeeperAliasService mishandles mixed-case alias keys pr…
URL: https://github.com/apache/knox/pull/202#issuecomment-555197181
> Will this break on upgrade of Knox?
>
> ie: Knox won't be able to get mixed case aliases from ZK anymore if they
are in use today?
Knox could not get mixed-case aliases from ZK before this change. The only
real difference here is that the implementation won't add mixed-case aliases
(which are immediately unreachable via the API) any more.
----------------------------------------------------------------
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: 345568)
Time Spent: 20m (was: 10m)
> ZooKeeperAliasService mishandles mixed-case alias keys properly
> ---------------------------------------------------------------
>
> Key: KNOX-2127
> URL: https://issues.apache.org/jira/browse/KNOX-2127
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.3.0
> Reporter: Philip Zampino
> Assignee: Philip Zampino
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The ZooKeeperAliasService mishandles mixed-case alias keys. Due to
> JDK-4891485, the getPasswordFromAliasForCluster(String, String, boolean)
> implementation assumes the alias key should be lower-cased. However, it
> enforces no such requirement when an alias is added. Hence, it's possible to
> add a mixed-case alias key, but impossible to retrieve the value thereof.
> If this lower-case requirement is necessary, then the implementation must
> enforce it consistently. The add methods must also lower-case the alias keys.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)